Sunday, March 11, 2012

Debugging web service call

So you mentioned that you are indeed seeing a request sent out to your asmx when you click the button and that it's return a 200 status code? Did you verify that the response of that request contains something that resembles the data you expect in a jsonized format? If that also holds true, then I'm guessing the client hang you are seeing is within the javascript of your page, so you might want to just step thru the execution of your page using VisualStudio by attaching to IE, or using a FireFox javascript debugger if you aren't using IE, and see what's going on...

Hope that helps,
-Hao


Hao,

Thanks for your reply. Turns out the problem was pretty dumb. If you look at those criteriavalues arrays, I'm passing the control, not the value inside the control. Apparently that's bad. :-) When I pass the values, I have much better luck. Thanks again for your help!

No comments:

Post a Comment