I have a javascript call to a C# WebMethod. The same page has another call and it is working. I debugged the javascript code, this is called:
function userUpdReq_onOk()
{
...
var clientValidationPassed =Page_ClientValidate();
if( clientValidationPassed )
{
PageMethods.RequestUserUpdate(username, email, sex, zipCode, state, city, neighborhood, address, addressNumber, addressComplement, phone, promotionalInfo, connectionType, connectionSpeed, userUpdReq_OnComplete, userUpdReq_OnError);
}
...
}
The debugger passes by this line, but the next method it enters is userUpdReq_OnError( ). Why does it happen?