ASP.NET Page Methods with Parameters

added by jalpesh
1/7/2012 2:45:06 AM

0 Kicks, 74 Views

In earlier post I have written how we can use page methods to call server-side from the java script. In this post I am going to explain How we can pass parameters to page methods with java script. So let’s take a simple example to see how we can pass parameters to the page methods. I am going to create a page method Hello World which takes name as parameter and return a string to greet user from that page method below is code for that.using System; using System.Web.Services; namespace PageMethods {...