This is a migrated thread and some comments may be shown as answers.

How to limit dropdown list size considering displayed element count.

1 Answer 473 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Milgerdas
Top achievements
Rank 1
Milgerdas asked on 28 Oct 2016, 11:41 AM

Hello,

I was wondering how to limit <asp:DropDownList ... />, that its height would be limited to displayed element count, for example, if there are two elements, list will end after them, if there are three, four and so on. Now, as i understand, list is generated by default for 18 lines, if there are one result, list is still 18 lines long, but almost empty.

Thank you for help.

Milgerdas.

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 28 Oct 2016, 06:24 PM
Hi Milgerdas,

I believe you may have posted into the wrong forum.  However, I would highly recommend taking a look at the Telerik RadDropDownList.  You can see it in action in our helpful demos pages, and I suggest taking a look at our documentation for more information.

For questions pertaining to the asp component, I recommend StackOverflow.  

Regards,
Patrick
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
DropDownList
Asked by
Milgerdas
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or