Limit displayed Multiselect items

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    3 posts
    Member since:
    Nov 2012

    Posted 21 Apr 2015 Link to this post

    I would like to limit the number of items I show in the multiselect control. Anyone have any examples of this? Perhaps with an ellipse or an expander of some sort. 
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2595 posts

    Posted 23 Apr 2015 Link to this post

    Hi Jeff,

    There is a  MaxSelectedItems option which can be used for this requirement: 
    @(Html.Kendo().MultiSelect()
       //...
       .MaxSelectedItems(2)
    )

    Regards,
    Iliana Nikolova
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top