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

https://bugzilla.novell.com/show_bug.cgi?id=646479#c0


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

Reply via email to