Thanks for your reply. sorry if this is hard to follow, but I don't
seem to be able to send a zip file. This problem occurs with HTML and
asp.net textboxes as well. Exactly the same. Here is all the code for
two textboxes:
Thanks
*************************************************************************************************
*************************************************************************************************
//This is the onBlur event of an Infragistics masked edit control
// no problem at this point
function txtPhone_Blur(oEdit, text, oEvent){
_Default.Submit_Phone(curClient.clientid,oEdit.old,text,Submit_Phone_Pending_callBack);
}
//Here is the server-side code. write some data to a table and return
"OK" if success
[AjaxPro.AjaxMethod]
public string Submit_Phone(System.Int32 cliId, string OldValue, string
NewValue)
{
string RetVal = "";
// write the data
RetVal = "OK";
return RetVal;
// if I am single-stepping the code, at this point I go directly to
"Submit_SSN"
//it is as if txtSSN got the focus, data was entered and the onblur was
executed.
//the "Submit_Phone_Pending_callBack" executes, but not until after the
"Submit_SSN_Pending_callBack" has
// execuated once. Then "Submit_SSN_Pending_callBack" executes in an
infinite loop.
}
function Submit_Phone_Pending_callBack(res)
{
// nothing to do here except inform user of the results of the
table update operation
alert("from Phone" + res.value );
}
function txtSSN_Blur(oEdit, text, oEvent){
_Default.Submit_SSN(curClient.clientid,oEdit.old,text,Submit_SSN_Pending_callBack);
}
public string Submit_SSN(System.Int32 cliId, string OldValue,
string NewValue)
{
string RetVal = "";
RetVal = "OK";
return RetVal;
}
function Submit_SSN_Pending_callBack(res)
{
alert("from ssn " + res.value==null);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---