[Mono-bugs] [Bug 329341] New: IsPostBack is true in Server.Transfer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 28 10:48:13 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=329341

           Summary: IsPostBack is true in Server.Transfer
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: i686
        OS/Version: openSUSE 10.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: g.tardini at caleidoscopio.it
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=175502)
 --> (https://bugzilla.novell.com/attachment.cgi?id=175502)
Test project

When a page is called by Server.Transfer, its IsPostBack property is set to
true. On .NET is set to false.

Steps to reproduce the problem:
1. Perform a Server.Transfer, e.g. on a click event handler.

protected void Button2_Click(object sender, EventArgs e)
{
   Server.Transfer("Postback.aspx", true);
}

2. In the new page (Postback.aspx in the example), check the IsPostback
property.

Actual results:
IsPostBack is true

Expected results:
IsPostBack is false

See the attached example


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list