Feb 27, 2015, 9:02 PM
[CLOSED] response.redirect not working in 3.1
Hello,
I have server-side method being called from a button click, and I am trying to direct the user to a different page. But Response.Redirect is throwing the error dialogue box say "200 NORESPONSE". Below is the screen shot and code. I am using IE 11. and just downloaded Ext. 3.1 few days ago.
I have server-side method being called from a button click, and I am trying to direct the user to a different page. But Response.Redirect is throwing the error dialogue box say "200 NORESPONSE". Below is the screen shot and code. I am using IE 11. and just downloaded Ext. 3.1 few days ago.
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<script runat="server">
protected void Button1_Click(object sender, DirectEventArgs e)
{
this.Response.Redirect("http://www.google.com");
}
</script>
<title>Ext.NET Example</title>
</head>
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Button ID="Button1"
runat="server"
Text="Submit"
OnDirectClick="Button1_Click"
/>
</form>
</body>
</html>
Thank you!
Last edited by Daniil; Mar 10, 2015 at 11:36 AM.
Reason: [CLOSED]