[Mono-bugs] [Bug 508167] New: RegisterHiddenField should not put a "id" in the input field in 1.1 profile

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 29 10:12:53 EDT 2009


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


           Summary: RegisterHiddenField should not put a "id" in the input
                    field in 1.1 profile
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: informatique.internet at fiducial.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=295216)
 --> (http://bugzilla.novell.com/attachment.cgi?id=295216)
patch to fix up this

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.10)
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10

If you use Page.RegisterHiddenField the resulting <input> field will include an
id.

That's ok with 2.0 profile but not with 1.1 profile. This behaviour breaks some
libraries (Anthem controls) with mono

Reproducible: Always

Steps to Reproduce:
1.RegisterHiddenField("test","testvalue"); in the page load
2.
3.
Actual Results:  
resulting input field

<input type="hidden" name="test" id="test" value="testvalue" />


Expected Results:  
with MS.NET 1.1

<input type="hidden" name="test"  value="testvalue" />

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