N
n#
I have an old existing website with a Header/ Left Hand Menu and a
iframe as the main body content, adjacent to the menu. So for every
click on the menu item, I used to load a aspx page on the iframe and
hence i am not loading the entire menu and header for each request.
When I try and port the above model to Master Page
1) The menu ( I thot of having the Menu Web control), Header would be
moved to the master page.
2) The each aspx page, which used to load in the iframe would now
include the master page.
Is this approach right. But I still don't see the flexibility of
loading the page only for each menu clicks.
Ofcourse I am not interested in using the viewstate and autoevent wire
ups - as I am very happy with the HTML/Javascript over server side
control.
I thot of using menu web control only for the ease of loading my
menu.xml and rendering as a typical html using control adapters. I am
not interested in using the events of those controls.
Ofcourse I am done with initial porting. Anyway I am not getting the
css and look and feel. (But anyway I confirmed the css path hasn't
broken. It does url-rebasing perfectly.)
Is my approach correct while porting my existing website to master page
model?
What may be the reason for me not getting the styles applied. ( sorry
for being asking a code related issue)
My master page contains the link to the css.
<link href="~/styles/styles.css" type="text/css" rel="stylesheet" />
How good the master page and usercontrols gels?
iframe as the main body content, adjacent to the menu. So for every
click on the menu item, I used to load a aspx page on the iframe and
hence i am not loading the entire menu and header for each request.
When I try and port the above model to Master Page
1) The menu ( I thot of having the Menu Web control), Header would be
moved to the master page.
2) The each aspx page, which used to load in the iframe would now
include the master page.
Is this approach right. But I still don't see the flexibility of
loading the page only for each menu clicks.
Ofcourse I am not interested in using the viewstate and autoevent wire
ups - as I am very happy with the HTML/Javascript over server side
control.
I thot of using menu web control only for the ease of loading my
menu.xml and rendering as a typical html using control adapters. I am
not interested in using the events of those controls.
Ofcourse I am done with initial porting. Anyway I am not getting the
css and look and feel. (But anyway I confirmed the css path hasn't
broken. It does url-rebasing perfectly.)
Is my approach correct while porting my existing website to master page
model?
What may be the reason for me not getting the styles applied. ( sorry
for being asking a code related issue)
My master page contains the link to the css.
<link href="~/styles/styles.css" type="text/css" rel="stylesheet" />
How good the master page and usercontrols gels?