[Mono-bugs] [Bug 676008] New: Form name and id are incorrectly rendered with master pages.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 1 13:14:08 EST 2011



           Summary: Form name and id are incorrectly rendered with master
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: All
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: flaker.kapper at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=416864)
 --> (http://bugzilla.novell.com/attachment.cgi?id=416864)
Sample solution

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13

When I create a webform with a masterpage. MS runtime creates a form like this:

<form name="aspnetForm" method="post" action="MyTestWebForm.aspx"

Mono runtime creates this:

<form method="post" action="MyTestWebForm.aspx" id="ctl00_ctl01">

This difference accounts for some errors in client validation code in some

Reproducible: Always

Steps to Reproduce:
1.Create a Master page
2.Create a Web Form using the Master Page
3.Watch the new form in the browser
Actual Results:  
the form "tag" does not include the "name" attribute and it's "id" attribute is
not "aspnetForm"

Expected Results:  
the form should have both attributes "id" and "name". Both with value

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