Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have placed an asp:loginStatus control into my Master page and it shows, but clicking either "log in" or "log out" causes a JavaScript error. I have the following form definition in my master page [code]
Hi Gordon, Have you tried to use: [code]
Hi Dirk, I've just tried it - and the result is the same :-( The generated form tag looks like this [code]
Found the problem - there was a HTML button (INPUT TYPE=Button") on the page. I changed it to an asp:Button and now the LoginStatus control works fine:-s
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
asp:LoginStatus gives a JavaScript error
I have placed an asp:loginStatus control into my Master page and it shows, but clicking either "log in" or "log out" causes a JavaScript error.
I have the following form definition in my master page
[code]
Hi Gordon,
Have you tried to use:
[code]
Hi Dirk, I've just tried it - and the result is the same :-(
The generated form tag looks like this
[code]
Found the problem - there was a HTML button (INPUT TYPE=Button") on the page. I changed it to an asp:Button and now the LoginStatus control works fine:-s
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.