how to attach master page onto existing solution or proj.
-
Hi: I have created a simple web page and was able to published. Anyhow, I went back and create a master page. How can I tied the rest of the pages onto my master page. I found most example showed how to create a master page then create a default.aspx then selected master page to attch them together. Thanks in advance. Eyungwah
-
Hi: I have created a simple web page and was able to published. Anyhow, I went back and create a master page. How can I tied the rest of the pages onto my master page. I found most example showed how to create a master page then create a default.aspx then selected master page to attch them together. Thanks in advance. Eyungwah
if u want the master page remain the same for ur entire application, configure it in ur web.config file in the following way..... ----- ---- or... if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...
mareers
-
Hi: I have created a simple web page and was able to published. Anyhow, I went back and create a master page. How can I tied the rest of the pages onto my master page. I found most example showed how to create a master page then create a default.aspx then selected master page to attch them together. Thanks in advance. Eyungwah
Hi I think that is possible, you need to set in the Web.config file. Please refer this link for more information http://msdn2.microsoft.com/en-us/library/wtxbf3hh.aspx[^]
Harini
-
if u want the master page remain the same for ur entire application, configure it in ur web.config file in the following way..... ----- ---- or... if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...
mareers
f u want the master page remain the same for ur entire application, configure it in ur web.config file in the following way..... ----- in configuration tag then system.web tag in pages tag specify the location of ur masterfile in the masterpagefile attribute close pages tag close system.web tag close configuration tag ---- or... if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...
mareers