Click here to Skip to main content
15,896,207 members
Articles / Web Development / ASP.NET

Calling a C# method using jQuery on the client side

Rate me:
Please Sign up or sign in to vote.
4.76/5 (19 votes)
15 Sep 2011CPOL1 min read 97K   44  
Calling a C# method using jQuery on the client side.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
15 Sep 2011Steven O
Another alternative is to use AjaxPro.dll. It is a library that was developed by Michael Schwarz that you simply drop in the bin folder of your ASP.NET web applications. You can find more information or download this library at http://www.ajaxpro.info.To use it:Add an HttpHandler to your...
Please Sign up or sign in to vote.
2 Oct 2011Anuja Pawar Indore
Create a web service name WebMethod.SVC in the CS file and add the method: [OperationContract] [WebInvoke(Method = "POST")] public void DeleteRec(string ID) { DelUser(Convert.ToInt32(ID)); }On client side, give the path and call the...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Program Manager Infobeans
India India
I have keen interest in learning new things, exploring more on a topic and being more versatile

Comments and Discussions