Background: Ok, Ten minumtes before the problem occurred of the web page not accessing the VB code-behind I included this code:
Then the probem occured. When it came to executing the gridviews Select hyperlink a simple executed post back was caused and no code within was ran. I put in the the code some breaks, then it steps through and worked fine! The next step is obvious, I removed the break points and the problem happened again, grrh!
Next I removed the Java code and all related code as see above, still the problem happens. Finially it came to running a trace on the code, while the trace ran so did the code and good too. After the trace was took off the program the problem returned.
Any ideas?
Code:
<body onbeforeunload="DoPostBack()">
<script language="javascript">
function DoPostBack()
{
__doPostBack(Logout,TEST);
}
</script>
Placed in Page_Load
If Page.IsPostBack Then
If Request.Form("__EVENTTARGET") = "Logout" Then
Code
End If
End If
Then the probem occured. When it came to executing the gridviews Select hyperlink a simple executed post back was caused and no code within was ran. I put in the the code some breaks, then it steps through and worked fine! The next step is obvious, I removed the break points and the problem happened again, grrh!
Next I removed the Java code and all related code as see above, still the problem happens. Finially it came to running a trace on the code, while the trace ran so did the code and good too. After the trace was took off the program the problem returned.
Any ideas?