Hi Joe,
You can make the change global as well as how Keith explained for a project. You can't change it in the IDE but you can modify the scripting files that VS uses to create a new page. To change it for all future web pages created, do the following for VB:
Locate the file Common.js in
x:\Program Files\Microsoft Visual Studio .NET\Vb7\VBWizards\1033
Find the code
"var prjPageLayout =
selProj.Properties("DefaultHTMLPageLayout").Value;"
Below it, just add:
"prjPageLayout = 0;"
and when you create a new aspx file, it will be in flow layout mode
now.
For C#, you need to locate the two files:
C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpAddWebFormWiz\Scripts\1033\default.js
C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpWebAppWiz\Scripts\1033\default.js
then make the similar adjustment as shown for VB above.
>Where do you set the default layout for all future web pages including future solutions? I want flow layout not grid. But gridlayout is bold which means not default to me. Did I already chang this somewhere ??
>
> My Thanks in advance,
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi