[CLOSED] Response Redirects fires exception after updating from trunk

  1. #1

    [CLOSED] Response Redirects fires exception after updating from trunk

    Hello I have updated from svn trunk and after that everytime I execute
    this.Response.Redirect("SomePage.aspx")
    I get exceptions.

    I tried recompiling but i still get the same problem. When I use older dll it works fine.

    Here is my sample code:

    Redirect.aspx:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Redirect.aspx.cs" Inherits="TestExt.Redirect" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <ext:ResourceManager ID="ResourceManager1" runat="server">
            </ext:ResourceManager>
            <ext:Button ID="Button1" runat="server" Text="Submit" OnDirectClick="btn_click">
            </ext:Button>
        </div>
        </form>
    </body>
    </html>
    Redirect.aspx.cs:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Ext.Net;
    namespace TestExt
    {
        public partial class Redirect : System.Web.UI.Page
        {
            protected void btn_click(object sender, DirectEventArgs e)
            {
                this.Response.Redirect("Prueba.aspx");
            }
    
            protected void Page_Load(object sender, EventArgs e)
            {
    
            }
        }
    }
    Here are some screenshots:

    Click image for larger version. 

Name:	ERROR.png 
Views:	50 
Size:	20.8 KB 
ID:	5595Click image for larger version. 

Name:	ERROR2.png 
Views:	64 
Size:	34.1 KB 
ID:	5596
    Last edited by Daniil; Feb 12, 2013 at 9:41 AM. Reason: [CLOSED]
  2. #2
    Thanks for the report, fixed in SVN

Similar Threads

  1. [CLOSED] Raising exception after updating from SVN
    By RCN in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 15, 2012, 8:09 PM
  2. Replies: 0
    Last Post: Aug 05, 2012, 10:46 AM
  3. [CLOSED] Global exception handling - wrong response or no failure
    By pschojer in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 13, 2010, 2:03 PM
  4. store load exception bad response
    By [WP]joju in forum 1.x Help
    Replies: 2
    Last Post: Jan 12, 2010, 5:45 AM
  5. [CLOSED] Load mask while page redirects ?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 19, 2009, 9:40 AM

Posting Permissions