Click here to Skip to main content
15,891,868 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How we can load master page dynamicaly for multiple content pages
Posted

Hi,


You can do it in page_preint event.
 
Share this answer
 
Comments
Ankur\m/ 18-Mar-11 2:22am    
HOW was the question and not WHERE?!
Use Page.MasterPageFile to set the path to the master page file you wish to use.
 
Share this answer
 
Comments
Albin Abel 18-Mar-11 1:03am    
Simple :)
Balwant.mnd 18-Mar-11 1:24am    
u can use Page.MasterPageFile in init event of page
Espen Harlinn 18-Mar-11 7:00am    
He dodges, he weaves, and he never gets enough sleep. He is kind to small animals - obviously, my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900