I answered that no, there is no hard reason. Dont ask for an advice here - I had a similar idea a long time ago :-) Still fighting it off.
Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -----Original Message----- From: Lars Tengstedt [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 2. Mai 2002 14:55 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] ASCX vs. ASPX Are you telling me to implement each page as .aspx or that I should use .ascx? On Thu, 2 May 2002 13:25:53 +0200, Thomas Tomiczek <t.tomiczek@THONA- CONSULTING.COM> wrote: >No :-) > >There are some issues around - most solvable, though. They involve the >point that basically you can not really have controls outside the >server side forms tag. > >You also dont need url parameters. > >You can hvave a URL named > >A.aspx/test/without/parameters.txt > >And then extract the >"/test/without/parameters.txt" parts yourself. This way the page is >static for any search engine. > >Regards > >Thomas Tomiczek >THONA Consulting Ltd. >(Microsoft MVP C#/.NET) > > > >-----Original Message----- >From: Lars Tengstedt [mailto:[EMAIL PROTECTED]] >Sent: Donnerstag, 2. Mai 2002 13: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. 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.
