Posts Tagged ‘ajax’
Webservice from javascript
08
Feb
In this post, I will show you how to use web service from javascript using AJAX script manager.
Below example will show you how to get values from textfields and send that values to webservice and show the results on screen without any post back.
Step 1: Add webservice to your project and uncomment Script service:
[WebService(Namespace = "MyServ")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment ....Read Full Article
Client Callback
28
Jan
In a client callback a client side event makes a request to the server, at server the page is initiated, it members are created, however page runs a modified version of its life cycle and only method that is marked for invocation is called; that, then can return a value that can be read using another client side function.
Follow the following steps to use Client Callback benefits on your asp.net application.:
Step 1: Inherit class from ICallbackEventHandler
public partial class _Default : Sys ....Read Full Article