[Mono-bugs] [Bug 646479] New: Dynamic control lifecycle inconsistency between Mono and MS.NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 14 06:15:11 EDT 2010



           Summary: Dynamic control lifecycle inconsistency between Mono
                    and MS.NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: sergey.hakobyan at gaiaware.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=394912)
 --> (http://bugzilla.novell.com/attachment.cgi?id=394912)
Testcase for the issue

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
Gecko/20100914 Firefox/3.6.10

When moving (removing and readding) dynamic control, OnLoad method is called
twice. It's called even when the control was loaded before moving.
On MS.NET the OnLoad method is called only once.

Testcase is attached.

Reproducible: Always

Steps to Reproduce:
1. Add a control during Page_Load dynamically.
2. In Button click handler move the control to another one (such as Panel).
Actual Results:  
OnLoad is called twice on Mono and once on MS.NET.

Expected Results:  
OnLoad should be called only once.

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