I'd say it's personal preference from a site management & debugging
point of view.

Personally I'd go for lots of .aspx pages, with controls being shared
(e.g. navigation / header etc.. ).
Its a lot easier to deal with if/when someone says there's a problem on
"PlaceOrder.aspx".

Worth checking out the ISpyBuy & Duwarmish MSDN samples 

Best

S



-----Original Message-----
From: Lars Tengstedt [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2002 12:23
To: [EMAIL PROTECTED]
Subject: [DOTNET] ASCX vs. ASPX


I am building an ASP.NET application (surprise).
Can anyone tell why I should use more than one .aspx instead of having
one
.aspx page which includes the other 'pages' as controls?

All my pages have to have a header, a menu, and some control depending
on
user input.
Why not just have one .aspx and just define some controls to input via
URL
parameters instead of having to duplicate the header and menu to all
.aspx
pages ??


Any comments are greatly appreciated.

Kind regards,
Lars Tengstedt

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to