I found one similar problem here , but I'm not sure how to apply it here, or if it is possible.
the problem is that the asp: LoginStatus button does nothing; I can not log out.
javascript error:
TypeError: theForm.submit is not a function
theForm.submit();
which comes from the script that asp.net introduces:
<script type="text/javascript">
var theForm = document.forms['ctl01'];
if (!theForm) {
theForm = document.ctl01;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
</script>
I watched __doPostBack. eventArgument does not get a value. not sure if this is a real problem.
eventTarget : "ctl00$HeadLoginView$HeadLoginStatus$ctl00"
eventArgument : ""
any ideas as to why the asp: LoginStatus button does nothing?
source
share