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

DropDownList not opening with many items (~15000)

1 Answer 93 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Daniel Knoll
Top achievements
Rank 1
Daniel Knoll asked on 28 Jan 2013, 09:33 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 29 Jan 2013, 02:45 PM
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!
Tags
DropDownList
Asked by
Daniel Knoll
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or