Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using jQuery in ASP.NET

When using the AJAX functionality in jQuery, do I also have to have ASP.NET AJAX/.NET 3.5 installed also? or can I only use ASP.NET AJAX?

I'm unclear on whether or not I'm able to use AJAX in ASP.NET without ASP.NET AJAX or not.

like image 739
LiamGu Avatar asked Jul 30 '09 09:07

LiamGu


People also ask

How can we include jQuery library in ASP.NET project?

For adding a jQuery library reference to an ASP.Net page, you just need to specify the source of the library in the script tag. The above line will include the jQuery library form the Microsoft CDN.

Do web developers still use jQuery?

How Popular Is jQuery? StackOverflow's 2022 survey of web technologies used by professional developers found that just over 29% of more than 45,000 respondents were working with jQuery. Among the JavaScript libraries, jQuery was second only to React.

What is jQuery in ASP NET MVC?

ASP.NET MVC is a technology used to create websites that run on Microsoft Internet Information Services (IIS). JavaScript is a computer language used to add interactive operations to a webpage. jQuery is a library based on JavaScript to enhance the language to create highly functional websites and webpages.


1 Answers

No, you don't need ASP.NET AJAX installed to use the AJAX functionality of jQuery.

You can call PageMethods and Web Services without needing a ScriptManager control (which generates the JavaScript proxy objects that allow you to use familiar syntax to call web services and page methods).

Article on using jQuery to directly call ASP.NET AJAX page methods

Article on using jQuery to Consume ASP.NET JSON Web Services

like image 86
Russ Cam Avatar answered Oct 23 '22 02:10

Russ Cam