> I have a need in an application to have the ability to select multiple
> values in some kind of drop down list or maybe even a html type select
[quoted text clipped - 16 lines]
>
> Thanks
Just add a unique id (id="myControlName") to the html control and a
runat="server" attribute and you should be able to access the control
normally.
Thanks,
Seth Rowe
Problematic coder - 12 Jul 2007 19:09 GMT
> > I have a need in an application to have the ability to select multiple
> > values in some kind of drop down list or maybe even a html type select
[quoted text clipped - 26 lines]
>
> - Show quoted text -
Thanks for replying but I am still struggling with this:
Here is what I have so far:
<select id="SelTestName" style="height: 69px" runat="server"
multiple="multiple">
<OPTION VALUE="one">one</OPTION>
<OPTION VALUE="two">two</OPTION>
<OPTION VALUE="three">three</OPTION>
</select>
As soon as I attempt to switch between from source to design I get the
following error:
Cannot create an object of type 'System.Boolean' from its string
representation 'multiple' for the 'multiple' property
The other problem I have is how do I iterate through the values
selected, since 'count' doesn't seem to be supported as in my example
above.
Or am I going down totally the wrong road and is there a better way of
achieving this?
Thanks