DropDownList: MaxDropDownItems ???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to set the maximum number of items of a DropDownList
when dropped down? I tried but could not find out how to do that.

Thanks

Kimon
 
Kimon,

You mean how many are displayed? Set the drop down list's height.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
No, it's not the height. I mean a property like the MaxDropDownItems of a
combobox. It's not the height of the control, but the maximum number of items
when the DropDownList is dropped down. There is no such a property for the
DropDownList. How to do that?
 
Kimon,

Windows Forms have a MaxDropDownItems property that can be set. But on the
web side I don't think you can do this. I think you'd have to create your
own control using a text box and <div> tags to create your drop down below
the text box.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top