HowardMarks
MIS
Hi Chaps
I've recently made the transition over to .net from classic ASP, and I'm in the process of rewriting an existing site. I have a fairly complex user admin section where users may add events to a database, edit and delete them etc.
In classic asp I would probably have encased all the functionality for this section into one page, with a select command switching between the 'edit' page or new page, or handling the database updates etc.
I was just after some advice on the best way to approach this kind of thing from a .net perspective. Am I best to replicate this behavior in one page, using subs for each part of functionality, and showing/hiding various bits of the page depending on function - or would it be wiser to break this down in one page for 'add new event', one for 'edit event' etc.
Although I guess either approach would work I'm more worried about the efficiency of the pages, for example the overheads of having lots of controls which are there, but not 'visible'. Could anyone offer any advice?
Many thanks
Nick
Nick (Webmaster)
I've recently made the transition over to .net from classic ASP, and I'm in the process of rewriting an existing site. I have a fairly complex user admin section where users may add events to a database, edit and delete them etc.
In classic asp I would probably have encased all the functionality for this section into one page, with a select command switching between the 'edit' page or new page, or handling the database updates etc.
I was just after some advice on the best way to approach this kind of thing from a .net perspective. Am I best to replicate this behavior in one page, using subs for each part of functionality, and showing/hiding various bits of the page depending on function - or would it be wiser to break this down in one page for 'add new event', one for 'edit event' etc.
Although I guess either approach would work I'm more worried about the efficiency of the pages, for example the overheads of having lots of controls which are there, but not 'visible'. Could anyone offer any advice?
Many thanks
Nick
Nick (Webmaster)