Breaking News

Editors Picks

Monday, June 18, 2012

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.


“Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack" - This is one of the common error we see in forum where people request solution for it.
Below is a explanation and resolution to resolve this Problem,
This error normally occurs when we use Response. Redirect or Server. Transfer or Response. End in our code before completing the actual process the page was doing.
In this case what you have to do is          

and in place of Response.Redirect, use the Response.Redirect ("PagaName.aspx", false);

and in place of Server.Transfer, use the Server.Execute method
Read more ...

Tab is not working after textbox's textchanged event fired?


<script type="text/javascript">
  function KeyDown(e)
 {
    var e = e || event;
    var currKey = e.keyCode || e.which || e.charCode;
   if (currKey == 9)
   {
   document.getElementById("<%=Txtbox4.ClientID %>").focus();
   }
}
script>
<asp:TextBox ID="Txtbox1" runat="server"
  onkeydown="KeyDown();" >asp:TextBox>
<asp:TextBox ID="Txtbox2" runat="server">asp:TextBox>
<asp:TextBox ID="Txtbox4" runat="server">asp:TextBox>
Read more ...

Contact Us

Name

Email *

Message *