For Example
dropdownList1.Items[0].Attributes.Add("myExpandoProperty",
"myExpandoValue");
I would expect then the rendered html to look like:
<select name="dropdownList1" id="dropdownList1">
<option value="test" myExpandoProperty="myExpandoValue">test</option>
</select>
However, the expando property does not show up. What's the point of having
an attributes collection if it does not get rendered in the HTML!?
Any idea how to do this?
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"PV" <philipv-REM...@computronix.com> wrote in message
news:uwxCzp9$DHA....@TK2MSFTNGP09.phx.gbl...
Any chance of a hotfix?
As it stands, it looks like I would have to implement my own DropDownList
control just so that I can add my own correctly implemented ListItem objects
to it (at least dropdownlist isn't sealed). Would that be a correct
assesment?
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:uuoCrH%23$DHA....@TK2MSFTNGP10.phx.gbl...
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"PV" <philipv-REM...@computronix.com> wrote in message
news:O8k4J5G...@TK2MSFTNGP11.phx.gbl...