HighTechTalks DotNet Forums  

newbie: tables/layout

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss newbie: tables/layout in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
suzy
 
Posts: n/a

Default newbie: tables/layout - 07-27-2003 , 06:39 AM






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.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.