Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 29, 2012 03:33 PM by conradob
Apr 16, 2007 12:45 PM|LINK
Hi, there seems to be a limit on the number of items a dropdown list can have of about 500. A normal dropdown list does not seem to have this limit. When I try to a cascading dropdown list, I get a "Webmethod Error: 500" as the only item in the dropdown
Apr 16, 2007 02:34 PM|LINK
Here is a walkthrough with source-code for the same:
Apr 16, 2007 10:46 PM|LINK
I've got the control working, however, I've found that if the datasource (webservice) returns a list greater than about 512 items, the control errors out... This looks like a limitation somewhere.
Apr 14, 2009 05:38 PM|LINK
This limitation is most likely being made by the default setting of maxJsonLength in your web.config. You can specify the size like this in web.config:
"Ajax Control Toolkit"
Apr 15, 2009 03:17 AM|LINK
Error 500 is a generic catch-all server error that say "hey, something went wrong and I can't fulfill your request." You can examine your server log files to find out the exact cause of the error. This is a server error so it really can't be prevented
in your code, but it can be handled. Read http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys.WebForms/Exceptions/PageRequestManagerServerErrorException.aspx
for an explanation of ways to handle the error.
You can do something like this to improve the user's experience when that occurs:
Jun 29, 2012 03:33 PM|LINK
Works for me ! Thanks !