|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DropDownList: MaxDropDownItems?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 Hi Kimon,
The DropDownList items depend on the binding data. If you want to limit the number, you can try to filter the data before binding. Hope it can help you. Waki --------------------------------------- WakiCoolBar For Asp.net 2.0 An outlook style webmenu. demo: http://www.aspxcontrol.net/demo/wakicoolbar/sample.aspx download: http://www.aspxcontrol.net/download/wakicoolbar_en.zip Show quoteHide quote "Kimon Ifantidis" <KimonIfanti***@discussions.microsoft.com> wrote in message news:49A82B16-14D5-4310-8D7D-0B9FC738658E@microsoft.com... > 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 > What I want is to limit the height of the list when the DropDownList is
dropped down. It's a matter of good-looking, not binding or filtering or the like. From what I can see, there is no such a property like ComboBox's MaxDropDownItems. Show quoteHide quote "Waki Hunt" wrote: > Hi Kimon, > The DropDownList items depend on the binding data. If you want to limit the > number, you can try to filter the data before binding. > Hope it can help you. > > Waki > --------------------------------------- > WakiCoolBar For Asp.net 2.0 > An outlook style webmenu. > demo: http://www.aspxcontrol.net/demo/wakicoolbar/sample.aspx > download: http://www.aspxcontrol.net/download/wakicoolbar_en.zip > > > "Kimon Ifantidis" <KimonIfanti***@discussions.microsoft.com> wrote in > message news:49A82B16-14D5-4310-8D7D-0B9FC738658E@microsoft.com... > > 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 > > > > > Yes, the DropDownList is no Max property. I plan to developing a control
replace it. I would consider your need. But now, I have no time, I will sale my another control: WakiCoolBar firstly. After a period of time, you can take a look my website: http://www.aspxcontrol.net. Waki Hunt Show quoteHide quote "Kimon Ifantidis" <KimonIfanti***@discussions.microsoft.com> wrote in message news:6D719304-0826-4DB9-BBBC-16BA5545B45D@microsoft.com... > What I want is to limit the height of the list when the DropDownList is > dropped down. It's a matter of good-looking, not binding or filtering or > the > like. From what I can see, there is no such a property like ComboBox's > MaxDropDownItems. > > > > "Waki Hunt" wrote: > >> Hi Kimon, >> The DropDownList items depend on the binding data. If you want to limit >> the >> number, you can try to filter the data before binding. >> Hope it can help you. >> >> Waki >> --------------------------------------- >> WakiCoolBar For Asp.net 2.0 >> An outlook style webmenu. >> demo: http://www.aspxcontrol.net/demo/wakicoolbar/sample.aspx >> download: http://www.aspxcontrol.net/download/wakicoolbar_en.zip >> >> >> "Kimon Ifantidis" <KimonIfanti***@discussions.microsoft.com> wrote in >> message news:49A82B16-14D5-4310-8D7D-0B9FC738658E@microsoft.com... >> > 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 >> > >> >> >> |
|||||||||||||||||||||||