How to limit dropdown list size considering displayed element count.

2 posts, 0 answers
  1. Milgerdas
    Milgerdas avatar
    1 posts
    Member since:
    Oct 2016

    Posted 28 Oct Link to this post

    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.

  2. Patrick
    Admin
    Patrick avatar
    172 posts

    Posted 28 Oct Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top