Posted on: 6/26/2014 9:08:23 AM | Views : 450

Right now, I have a user control that raises an event which the webform handles with a handler.  It is a typical set up with a delegate and handler working together.
But I am trying to do the same but all with javascript.  The user control calls a webservice to process a task, and gets a value.
//inside user control function performsomething(){ //calls webservice WS.CallWebService(valPassed, onSuccess, onfail); } function onSuccess(result){ //the result is for the webform that hosts this user control to handle } function onfail(){ alert('something bad happened'); } So once "result" comes back from the webservice, I want the webform's javacript to take it from there and do whatever it needs to do.  Thank you.

Go to the complete details ...