Can you call C# code-behind method using jQuery? If yes,then how?

Answer Posted / chaitanya

Yes. We can call C# code-behind function via $.ajax. But for do that it is compulsory to mark the method as WebMethod.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between map and grep function in jquery?

476


What are the advantages of jQuery?

473


How to debug jQuery?

583


How to use transition effects? : jQuery Mobile

447


Explain the common methods of sending a request to a server.

470






What is the use of .size() method in jquery?

440


List the basic selectors in jquery?

433


What is a dom in jquery? How can we make sure that dom is ready?

447


How to debug jquery code/ debug jquery?

469


What is difference between sorting string array and sorting numerical array in jquery?

465


How to prevent Right Click option using jquery?

480


Will Events Are Also Copied On Clone In Jquery?

465


Explain jquery $.ajax() method?

453


What is the goal of cdn and what are the advantages of using cdn?

448


Differences Between jQuery .bind() and .live()?

493