DropDownList not opening with many items (~15000)

2 posts, 0 answers
  1. Daniel Grünberger
    Daniel Grünberger avatar
    46 posts
    Member since:
    May 2008

    Posted 28 Jan 2013 Link to this post

    Hi,

    I have a DropDownList which is populated with many items (around 15000). I know this is a lot, but it is needed for this application.

    Unfortunately, the DropDownList does not open anymore, when there are that many items. The open Animation is shown but the Dropdown is closed immediately. I'm using the Version 2012.3.1114.

    Is there a fix to this?

    Greets
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 29 Jan 2013 Link to this post

    Hello David,

    I guess that you are getting an exception about the length of the data serialized as JSON, saying that it exceeds the default MaxJsonLength. You could see the FAQ Section of the documentation about troubleshooting in such cases. I am attaching a sample application, showing a dropdown list with 20000 items. Please check if this works in your scenario.

    Greetings,
    Dimiter Madjarov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top