I have a login status control on master page. If the user has not logged in to the site, the login status control will show "Login" and if a user click on "Login" it usually redirect to Login.aspx or whatever we set in web.config rite? I would like to show a PopUp dialog box (probably with Jquery) when user click "Login" on login status control.
How can I raise an event when user click on "Login" on Login Status control ?
Note: this question is not about how to make a popup box in jquery.
Thanks.
L
I was just working on figuring this out and came up with this:
Basically, the LoginView shows a custom "Login" link which you could use to show a popup by binding to the click event. Using jQuery this would look like this:
The popup would be hidden initially, of course.
When the user is logged in, the the normal "Logout" link will be shown.