PDA

View Full Version : [CLOSED] Response Redirects fires exception after updating from trunk



profitsistemas
Feb 12, 2013, 12:03 AM
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:

55955596

Vladimir
Feb 12, 2013, 12:07 AM
Thanks for the report, fixed in SVN