Posts Tagged ‘avoid’
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