Click here to Skip to main content
11,577,954 members (63,170 online)
Click here to Skip to main content

Tagged as

Calling a C# method using jQuery on the client side

, 2 Oct 2011 CPOL 9.3K 6
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...

Alternatives

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

15 Sep 2011
Anuja Pawar Indore
2 alternatives  
Calling a C# method using jQuery on the client side.
15 Sep 2011
Steven 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...

License

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

Share

About the Author

Anuja Pawar Indore
Program Manager Diaspark
India India
I have keen interest in learning new things, exploring more on a topic and being more versatile

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.150603.1 | Last Updated 2 Oct 2011
Article Copyright 2011 by Anuja Pawar Indore
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid