Showing posts with label brief. Show all posts
Showing posts with label brief. Show all posts

Wednesday, March 21, 2012

CascadingDropDown Problem

Hello everyone,

I'll try to keep it simple and brief. This is another "[Method Error 500]" problem. I looked through all previous posts, but couldn't figure out the solution to my problem.

I'm using AJAX 1.0 RC and the latest version of the Control Toolkit (downloaded yesterday).
I have 3 dropdownlists. Here's how it goes:

1) I select something from DDL1 (DDL2 becomes populated)
2) I select something from DDL2 (DDL3 becomes populated)

until this point everything is OK. BUT, in DDL2, there is aparticularitem that when I select it, DDL3 says "Method Error 500". Other than that particular item, it all works fine.

Notes:
1) My Webservice declaration has the attribute[System.Web.Script.Services.ScriptService()]
2) I debugged the code, the results for this particular problem are returned from the database just fine, no exceptions, no problems.

Any ideas, tips?

Thanks!

This, perhaps:http://ajax.asp.net/docs/mref/P_System_Web_Script_Serialization_JavaScriptSerializer_MaxJsonLength.aspx

Yes! Thanks

(http://forums.asp.net/thread/1553105.aspx)