Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
hi,
I Have one master page in that Username Label and TextBox with Login Button.
If i entered A as username it should render another style of master page.If B another master page.Help Me.
Thanks In Advance.
Posted

1 solution

1.You could use multiple master pages in your web application. For example supposing you are using 3 master pages. You could start the design from the most simple of them- that should contains the common part, then create 2 other copy of it and use them as starting point for the other two.

2.Some of your application pages will use the 1st master page others pages the 2nd master page and so on.

3.From your login page based on the user selection (or application logic) you simple redirect for the desired page, and if that page is using 2nd master page or 3rd master page doesn't mater.
 
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