newbie: tables/layout

S

suzy

hello,

i want to create a site where every page has a title bar at the top of the
page and a menu bar down the left of the page.

when i did this in normal asp i would create a template table layout on
every page where one cell would contain an include file which loaded the
title.
another cell would contain the menu include file for the left column of the
page.
then the remainder of the page would be a cell which would render the main
body of the page (whatever it was).

how would i do this in asp.net?
at the moment, i am doing it in the following way and would like to confirm
its the best way of doing it.

i have usercontrols instead of include files (1 for the header and 1 for the
menu).
then on every page i drag a placeholder control onto the aspx page so i can
add controls to the page at runtime.
then on every page i have to define a htmltable control which contains rows
and cells which hold the title bar (as a usercontrol), and the menu down the
left hand side (as a usercontrol). [** see below]
then the main cell contains the main content of the page.

is the a good way of doing things?
** also, is there any way i can make the table template code that i place on
every page resusable?


thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top