Click here to Skip to main content
15,896,459 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When run the site login page will be display.After login I want to go to master page.
Posted

 
Share this answer
 
Watch out here! A master page is not a page that you redirect to. A master page is just there to create a basic layout for all your site pages. You have to redirect to one of the pages which uses the master page e.g. Home.aspx or Default.aspx:

C#
Response.Redirect( "Default.aspx" );


Get more insights about master pages here:
http://www.asp.net/master-pages/tutorials[^]

Happy coding,
Morgs
 
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