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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to