[Mono-bugs] [Bug 398322] New: RadioButtons from different controls are mixed together
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Jun 7 19:21:35 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=398322
Summary: RadioButtons from different controls are mixed together
Product: Mono: Class Libraries
Version: 1.9.0
Platform: x86-64
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: psoldack at wp.pl
QAContact: mono-bugs at lists.ximian.com
Found By: DeveloperNet
Scenario:
There is UserWebControl containing group on radio buttons. This control are
placed twice on one web page. So there should be two radio button groups (one
from every control's instance). However, there is just one so they mix :(
Description of Problem:
This is caused by wrong value of 'name' attribute of radio buttons.
In MS.NET in such scenario there is created HTML code as below:
<input id="ctl00_ContentPlaceHolder1_frmRating_ratingProfessional_rad1"
type="radio"
name="ctl00$ContentPlaceHolder1$frmRating$ratingProfessional$Rating"
value="rad1" />
So 'name' attribute contains name of control's instance
"...$ratingProfessional$...". But in Mono there is just:
<input id="ctl00_ContentPlaceHolder1_frmRating_ratingProfessional_rad1"
type="radio"
name="Rating"
value="ctl00$ContentPlaceHolder1$frmRating$ratingProfessional$rad1" />
So 'name' attribute doesn't contains name of control's instance and radio
buttons mix between instances, which is wrong.
How often does this happen?
Always
--
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