This documentation is archived and is not being maintained.

ScriptManager.AjaxFrameworkMode Property

Gets or sets a value that specifies how client scripts of the Microsoft Ajax client library will be included on the client.

Namespace:  System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

Public Property AjaxFrameworkMode As AjaxFrameworkMode
<asp:ScriptManager AjaxFrameworkMode="AjaxFrameworkMode" />

Property Value

Type: System.Web.UI.AjaxFrameworkMode
An AjaxFrameworkMode enumeration value.

Use the AjaxFrameworkMode property to enable all Microsoft Ajax script files, to disable all Microsoft Ajax script files, or to explicitly include individual script files.

The following example shows how to set the AjaxFrameworkMode property to Explicit in order to indicate that scripts can be explicitly specified.

<asp:ScriptManager ID="sm1" AjaxFrameworkMode="Explicit" runat="server"> 
    <asp:ScriptReference Name="MicrosoftAjaxCore.js" /> 
    <asp:ScriptReference Name="MicrosoftAjaxComponentModel.js" />  
    <asp:ScriptReference Name="MicrosoftAjaxSerialization.js" /> 
    <asp:ScriptReference Name="MicrosoftAjaxNetwork.js" />     

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.