Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Verify installation of ASP.NET Ajax Extension

Any way to verify that this has been installed on the server? I'm running 3.5 .NET Framework.

like image 566
V-Man Avatar asked Mar 25 '10 18:03

V-Man


People also ask

How do I know if AJAX is installed?

Use the following code to determine whether AJAX functionality is enabled for a page. ScriptManager sm = ScriptManager. GetCurrent(Page) if (sm == null) { // ASP.NET AJAX functionality is not enabled for the page. } else { // AJAX functionality is enabled for the page. }

What is AJAX extensions in asp net?

ASP.NET AJAX extender controls enhance the client functionality of ASP.NET Web server controls, such as TextBox controls, Button controls, and Panel controls. By using extenders, you can give users a richer Web-based experience.

What are the AJAX controls in asp net?

ASP.NET AJAX server controls consist of server and client code that integrate to produce rich client behavior. When you add an AJAX control to an ASP.NET Web page, the page automatically sends supporting client script to the browser for AJAX functionality.

What is ASP.NET AJAX How does it work?

AJAX is a technique for creating fast and dynamic web pages. AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.


2 Answers

Asp.Net Ajax extensions are part of the 3.5 framework, so they should be installed. They live in the System.Web.Extensions assembly.

You can verify that that .dll exists by checking your GAC. The .dll's also physically live in the Windows\Microsoft.Net\assembly\GAC_MSIL directory, which you can see with explorer on Windows 7 but will be hidden in XP (use a command line to browse to the directory).

like image 72
womp Avatar answered Oct 03 '22 11:10

womp


Check this out - Talks about http://msdn.microsoft.com/en-us/library/bb907614.aspx

This topic describes two tasks:

How to use reflection to check for the System.Web.Extensions assembly. This check is useful when you create custom controls that work regardless of whether ASP.NET AJAX is installed.

How to use the GetCurrent method of the ScriptManager class to determine whether AJAX features are enabled on an individual page. This is useful because scripts that are used in asynchronous postbacks must be registered with the ScriptManager control. Otherwise, the scripts can be registered with the ClientScriptManager control.

like image 29
Rahul Soni Avatar answered Oct 03 '22 11:10

Rahul Soni