[Mono-bugs] [Bug 72415][Maj] Changed - When deriving from WebControl using a string to specify the tag, it uses the wrong tag when rendering
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Feb 2005 14:18:01 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by eto@shaw.ca.
http://bugzilla.ximian.com/show_bug.cgi?id=72415
--- shadow/72415 2005-02-09 14:15:49.000000000 -0500
+++ shadow/72415.tmp.30804 2005-02-09 14:18:01.000000000 -0500
@@ -2,13 +2,13 @@
Product: Mono: Class Libraries
Version: 1.1
OS: GNU/Linux [Other]
OS Details: gentoo linux
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: Sys.Web
AssignedTo: mono-bugs@ximian.com
ReportedBy: eto@shaw.ca
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -40,6 +40,15 @@
Every Time.
Additional Information:
If you switch to use the HtmlTextWriterTag.Select or
HtmlTextWriterTag.Div, then it works properly. Also, this works fine in
the 1.0.5 release, just not the one in SVN
+
+------- Additional Comments From eto@shaw.ca 2005-02-09 14:18 -------
+Ooops, forgot the description:
+
+When authoring your own web controls, you can derive from WebControl
+and pass in a tag to use for the control as either a string or an
+enum. If you use a string in the latest SVN, it does not work as it
+did before, and always spits out <intput> instead of the tag
+specified (at least for 'div' and 'select' it does)