Please see the code below:
<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 HTML table is returned to an AJAX caller. The code works as long as the table is not too big. Once the table exceeds x rows then neither the onSuccess nor onFailure event handlers are called.
Why is this? Is there perhaps a restriction on the size of an AJAX response? Surely onFailure should be called in this case?