Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Layout
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00926119
Message ID:
00927711
Views:
25
This message has been marked as the solution to the initial question of the thread.
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.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform