Any way to verify that this has been installed on the server? I'm running 3.5 .NET Framework.
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. }
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.
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.
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.
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).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With