Ajax Call Doesn't Hit Breakpoint But Continues To Success Function
Solution 1:
More than likely a silent exception is being raised. I also encountered this exact same problem. It is worth noting that, not all exceptions will trigger a run-time error, from the browser/client it may appear that a valid return type has been returned. In my case, I was able to use the Intellitrace feature of Visual Studio to sniff out the following silent exception:
"The JSON request was too large to be deserialized"
That gave me the clues I needed to fix the issue via this other Stack Overflow response
I suggest trying to use the Ultimate version of Visual Studio which comes with Intellitrace to see if some similar exception is interfering with your server side code and ultimately tricking the client into thinking a valid response was returned.
Best of luck
Solution 2:
Try specifying the url like this:
url:'../Reports/GetStoreFranchiseList?franchiseId=' + franchiseId,
OR
url: '@Url.Action("GetStoreFranchiseList","Reports")' + '?franchiseId=' + franchiseId,
Post a Comment for "Ajax Call Doesn't Hit Breakpoint But Continues To Success Function"