Register the Web Service and Scripts
Next, we need to use a ScriptManager control to register the Web service and the scripts we will use. You can then use JavaScript to call the Web method that returns the necessary data for the Customer class we created earlier.
The OnSucceeded and OnFailed methods would be called on the success or failure (respectively) of the Web method call.
Suggested Readings
Here are two good links for further study on this topic:
Summary
Original: December 29, 2010