I had a problem when testing in Google Chrome where it would not show Tab Panel controls from the AJAX toolkit. It worked in Internet Explorer and Firefox.... and it was even more baffling because it would not occur in the production environment. The error experienced (as picked up by the Chrome Developer Tools window) was:
Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: method
There are other reports where ajaxtoolkit controls don't work (not just tab panels, but cascading dropdowns, etc). Because it worked in the production environment provided clues to the solution: Turns out it's a simple fix - it only happens when your application's debugging is turned on. Set compilation debug="false" in your web.config file and you should be set to go. (i.e. theres a bug in one of the Javascript files (debug version only) that run the asp.net ajax framework, and because asp.net ajax 1.0 is an old version [more specifically - it's for asp.net 2.0], it's unlikely it'll get fixed anytime soon)
Thursday, November 19, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment