In my dropdown list there are 70 items. when I select the dropdownlist
I am able to view 35 items in a single view. But I want to restrict
the no.of items to 10 when I select dropdownlist.
Please help me out
Larry Bud - 13 Aug 2007 19:26 GMT
On Aug 13, 9:59 am, sarellar...@gmail.com wrote:
> In my dropdown list there are 70 items. when I select the dropdownlist
> I am able to view 35 items in a single view. But I want to restrict
> the no.of items to 10 when I select dropdownlist.
> Please help me out
I don't believe you can. It's up to the browser on how to render the
size of it. Why would you want to limit it?
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 13 Aug 2007 23:40 GMT
You could try using an HTML Select control instead of the Web DropDownList
control.
Then set the select's Size property to 10.

Signature
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
> In my dropdown list there are 70 items. when I select the dropdownlist
> I am able to view 35 items in a single view. But I want to restrict
> the no.of items to 10 when I select dropdownlist.
> Please help me out