Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi!

i'm having two different master pages but both master page having same type of sub page ..

anyone can answer me that we can u same form to the different master page...

if possible means let me know how to use it...

please its urgent
Posted
Updated 26-Dec-11 1:28am
v2
Comments
Anil Honey 206 26-Dec-11 6:50am    
You can Use Same SubPage.Same like that which your using Sub page in first Master Page.
Anuja Pawar Indore 26-Dec-11 7:28am    
Urgent is not required

Google is your friend - ESPECIALLY if it's "urgent".

Working with master pages programatically[^]
 
Share this answer
 
v2
Use variable in place of defining master page name and set the value of that variable at page load event of page. You can change theme and skins also using same technique.
 
Share this answer
 
You can create a User Control for that from and then use it on both the form.

If you like my solution just tell me i'll tell you the full solution.
 
Share this answer
 

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