Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New ASP.Net projects defaults

6 views
Skip to first unread message

Payton Byrd

unread,
Sep 23, 2003, 1:02:23 PM9/23/03
to
Is there a way to cause VS.Net to automatically set page layout to
FlowLayout instead of GridLayout when starting a new project?


Nicole Calinoiu

unread,
Sep 23, 2003, 2:53:52 PM9/23/03
to
Yes (at least for C#, but probably for VB as well). You need to modify the
javascript file used by the new project wizard. For example, to change this
for C# web applications, I modified <VStudio.NET install
directory>\VC#\VC#Wizards\CSharpWebAppWiz\Scripts\1033\default.js. I added
the following line as the first line of the function
AddDefaultDefaultHTMLPageLayoutToWizard:

selProj.Properties("DefaultHTMLPageLayout").Value = 0;

HTH,
Nicole


"Payton Byrd" <payto...@trane.com> wrote in message
news:%23iSWqRf...@TK2MSFTNGP10.phx.gbl...

Payton Byrd

unread,
Sep 23, 2003, 3:18:01 PM9/23/03
to
Thank you very much!
"Nicole Calinoiu" <nic...@somewhere.net> wrote in message
news:e8piMQgg...@TK2MSFTNGP09.phx.gbl...
0 new messages