I have provided the code snippet below for reference:
<System.Web.Services.WebMethod()> _
Public Shared Function LinkedUSNs(ByVal usn As String, ByVal requester As String, ByVal reason As String, ByVal terminalip As String, ByVal strCon As String) As String
Dim objUSNs As New clsUSNs(strCon)
Dim objTable As Table = objUSNs.LinkedUSNs(CInt(usn), requester, CInt(reason), terminalip)
Return getHTML(objTable)
End Function
A response in the form of a HTML table is sent back to an AJAX caller. The code execution is successful until the table becomes too large. When the number of rows exceeds x, neither the onSuccess nor onFailure event handlers are triggered.
Why does this happen? Could there be a restriction on the size of an AJAX response causing this issue? I would expect the onFailure handler to be called in such scenarios.