Last post Jun 29, 2012 04:33 PM by conradob
Apr 16, 2007 01:45 PM|thoga01|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 03:34 PM|e_screw|LINK
Here is a walkthrough with source-code for the same:
Apr 16, 2007 11:46 PM|thoga01|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 06:38 PM|beeno|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 04:17 AM|chetan.sarode|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 04:33 PM|conradob|LINK
Works for me ! Thanks !