(Edit for search-ability: called "File Nesting")
I'm not sure if "folding" is the correct term, but the feature I'm referring to is shown in the 1st image below, versus the 2nd one which does not have an expandable tree list node for the code behind file.
My questions are:
References:
Edit
Thanks Sean, but as you can see below, my Nest Related Files
button does show up in this project for some reason:
Should have button shown below:
Edit:
I figured out the reason: I accidentally created a C# Web Application Project, and then added VB ASP.NET files to it.
see this related question for a possible registry hack (changing 9.0 to 8.0 in the question's reg script): Visual Studio 2010 related file nesting