[Mono-bugs] [Bug 618481] New: Problem with nested update panels

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 29 17:48:00 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=618481

http://bugzilla.novell.com/show_bug.cgi?id=618481#c0


           Summary: Problem with nested update panels
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: gustavo.benitez.cuba at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other
           Blocker: No


Description of Problem:
Button in nested update panel updates label in another panel.

Steps to reproduce the problem:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                <asp:Button ID="Button1" runat="server" Text="Button"
OnClick="Button1_Click" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
    </Triggers>
    <ContentTemplate>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </ContentTemplate>
</asp:UpdatePanel>

protected void Button1_Click(object sender, EventArgs e)
{
    Label1.Text = DateTime.Now.ToString();
}

Actual Results:
- Nothing happens

Expected Results:
- The current date/time should be displayed in the label

How often does this happen? 
- Always in Mono / Never in ASP.NET

Additional Information:

-- 
Configure bugmail: http://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