[Mono-bugs] [Bug 327377] New: Server.Transfer does not display new page' s content during postback

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 21 18:27:08 EDT 2007


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

           Summary: Server.Transfer does not display new page's content
                    during postback
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: nand321 at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Description of Problem:
Server.Transfer called from a method during a page's postback does not display
the content of the target page and changes the URL in ServerVariables to the
target page.

Steps to reproduce the problem:
1. Code of originating page:
aspx button for postback testing:
<asp:Button ID="TestButton" Text="Test" OnClick="Test_Click" runat="server" />

aspx.cs:
public partial class StartPage : System.Web.UI.Page
{
   protected void Test_Click(object sender, EventArgs e)
   {
      Server.Transfer("TargetPage.aspx");
   }
}

2. Code of target page:
aspx: Displays static text in HTML for testing

3. Load page in browser.

4. Click button.

Actual Results:
It does not display content of target page and changes the URL in
ServerVariables to the target page. A second click of button loads content of
target page with the target URL in location bar.

Expected Results:
Displays content of target page and maintains URL of original page as happens
while running with MS.NET.

How often does this happen? 
Always.

Additional Information:
None.


-- 
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