in my master page there is a login status when i click on it the page is redirected to login page.now i want to create login control in the home page itself so that users dont have to visit loginpage again and again..i guess i cant create the login control in the masterpage .it has to be in the default page but then how can i put that control on the top of the page . i have also used login control in masterpage but then my other control ion login page doesnt work properly
Share
You can add a Login control to your master page by adding something like this to the markup
Or my dragging the Login control onto the master page’s designer from the Toolbox.
To hide the login control when the user is logged in, add this code to the master page code-behind: