Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1018
  • Last Modified:

ajax cascadingdropdown

When I have added following line just above the Webservice class declaration, the Cascading Dropdown functionality is started working for me.


It's amazing. But soon I noticed some limitations with Cascading Dropdown. When i tried to populate large amount of data it again started throwing [Method Error 500] error. This error is not related to the number items in the drop down. I think this is related to amount of data being populated in the dropdown. The functionality works if I have limited data. But if the no of item/ size of item increase the problem starts.

Does anyone know solution to this problem? Your immediate help is much appreciated.
1 Solution
In your web.config, locate the section

    <!-- add the following line.  The number indicates the max number of characters returned from web services -->
             <jsonSerialization maxJsonLength="50000000"></jsonSerialization>
devdeptAuthor Commented:
Accept Answer

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now