[Mono-devel-list] Problem rendering System.Web.UI.WebControls.ComboBox to html

Curtis Wensley cwensley at mail.sydneyplus.com
Tue Feb 8 13:10:00 EST 2005

I found out why this was happening.  Our drop down control derived from
WebControl like :
public MyCombo : WebControl
    public MyCombo() : base("select") {}
This (and anything that uses a string for the element, eg. "div") spits out
an <input> tag instead.
If I switch it to HtmlTextWriterTag.Select instead, it works fine.
However, using the string should be fine too.


From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Curtis Wensley
Sent: February 4, 2005 5:13 PM
To: Mono-Devel-List
Subject: [Mono-devel-list] Problem rendering
System.Web.UI.WebControls.ComboBox to html

For some reason, the latest svn version of mono renders ComboBoxes as:
<input id=....>
instead of:
<select id=...>
Can anyone else verify this?  The combo boxes are added dynamically through
code, not in the aspx.  I don't see any bugs listed in bugzilla for
WebForms, shall I add?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050208/8f1c19ef/attachment.html 

More information about the Mono-devel-list mailing list