G
Guest
Hi all,
I have a page default.aspx and lots of user controls (Top.ascx,
LeftNav.ascx, Page1Content.ascx, Page2Content.ascx...). The default.aspx
contains Top.ascx, LeftNav.ascx at design time, and dynamically loads
PageNContent.ascx based on user's selection. That is if user select
Page1->Page1Content.ascx is loaded at run-time....
In Page1Content.ascx, if I have Response.write("...."), this will write the
output on top of the output html page. How can I write data to within the
Content area? What I ultimately want to achieve is, for all pages, Top &
LeftNav are always the same, the content of each page is data-driven from DB
and presented using CSS within the "Content" area.
Thanks.
I have a page default.aspx and lots of user controls (Top.ascx,
LeftNav.ascx, Page1Content.ascx, Page2Content.ascx...). The default.aspx
contains Top.ascx, LeftNav.ascx at design time, and dynamically loads
PageNContent.ascx based on user's selection. That is if user select
Page1->Page1Content.ascx is loaded at run-time....
In Page1Content.ascx, if I have Response.write("...."), this will write the
output on top of the output html page. How can I write data to within the
Content area? What I ultimately want to achieve is, for all pages, Top &
LeftNav are always the same, the content of each page is data-driven from DB
and presented using CSS within the "Content" area.
Thanks.