C
Craig Kenisston
Hi,
I am starting to learn ASP.net, and I am studying the starter kits.
I've trying to determine which is the optimal way to have a classical page
with a top header, a left hand menu and a right side content page.
It seems that the most common approach in the starter kits is to put both
the header and the menu in user controls, and then you put these controls on
all and each of your forms.
I see the eCommerce sample, all the pages has a table with the exact same
arrange and properties. The controls corresponding to each inner page are
placed on it.
And here it comes my question and I'm sorry if this is too stupid or too
obvious, I am an experienced Delphi programmer but pretty new to working
with html/asp : are all these tables originated from a massive a copy-paste
operation !? I was thiking that may be, just guessing the table was placed
in some place like, in class sort-of and then you inherit from it in every
page ... but I can't find such things.
If that copy-paste in each new form while developing is the way to go, well,
I'll leart to live with it. But, let's suppose you change want to change the
layout by adding a cell or two, how do you maintain the evenness ? by going
on each form and change it one at time manually ?
If this is not the way to go, please let me know. Any advise is welcome.
Thanks in advance,
I am starting to learn ASP.net, and I am studying the starter kits.
I've trying to determine which is the optimal way to have a classical page
with a top header, a left hand menu and a right side content page.
It seems that the most common approach in the starter kits is to put both
the header and the menu in user controls, and then you put these controls on
all and each of your forms.
I see the eCommerce sample, all the pages has a table with the exact same
arrange and properties. The controls corresponding to each inner page are
placed on it.
And here it comes my question and I'm sorry if this is too stupid or too
obvious, I am an experienced Delphi programmer but pretty new to working
with html/asp : are all these tables originated from a massive a copy-paste
operation !? I was thiking that may be, just guessing the table was placed
in some place like, in class sort-of and then you inherit from it in every
page ... but I can't find such things.
If that copy-paste in each new form while developing is the way to go, well,
I'll leart to live with it. But, let's suppose you change want to change the
layout by adding a cell or two, how do you maintain the evenness ? by going
on each form and change it one at time manually ?
If this is not the way to go, please let me know. Any advise is welcome.
Thanks in advance,