S
simon
Hello,
I'm helping write a .net app, we are using VS2005 and asp/vb.net for
code
we are using the "masterPage.master" technique, within the masterpage
we have an asp:contentplaceholder that is the place holder for the
main portion of the body of the site
my question is, is there a way to test what aspx page will be loaded
into the contentplaceholder? basically if it is our home page, that
page has a wider definition than all of our other pages. so i'd like
to test in the masterpage and if it is home.aspx then use a certain
layout, if it is anything else, then i'd like to use an alternate
layout.
any suggestions (or code examples) would be most appreciated. i'm
relatively new to .net, but have been coding for many years prior
thanks, simon
I'm helping write a .net app, we are using VS2005 and asp/vb.net for
code
we are using the "masterPage.master" technique, within the masterpage
we have an asp:contentplaceholder that is the place holder for the
main portion of the body of the site
my question is, is there a way to test what aspx page will be loaded
into the contentplaceholder? basically if it is our home page, that
page has a wider definition than all of our other pages. so i'd like
to test in the masterpage and if it is home.aspx then use a certain
layout, if it is anything else, then i'd like to use an alternate
layout.
any suggestions (or code examples) would be most appreciated. i'm
relatively new to .net, but have been coding for many years prior
thanks, simon