Verify ASP.NET Ajax Extension Installation

How to check if it is installed on the server? I am using 3.5.NET Framework.

+6
asp.net-ajax
source share
2 answers

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

You can verify that this .dll exists by checking your GAC. The DLL also physically lives in the Windows \ Microsoft.Net \ assembly \ GAC_MSIL directory, which you can see using Explorer in Windows 7 but will be hidden in XP (use the command line to go to the directory).

+4
source share

Check It Out - Negotiating About http://msdn.microsoft.com/en-us/library/bb907614.aspx

This section describes two tasks:

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

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

0
source share

All Articles