AjaxFrameworkMode 枚举

定义

指定 Microsoft Ajax 客户端库的客户端脚本以何种方式包括在客户端上。Specifies how client scripts of the Microsoft Ajax client library are included on the client.

public enum class AjaxFrameworkMode
public enum AjaxFrameworkMode
type AjaxFrameworkMode = 
Public Enum AjaxFrameworkMode
继承
AjaxFrameworkMode

字段

Disabled 1

指定所有 Microsoft Ajax 脚本功能均处于禁用状态,且 ScriptManager 控件不自动引用任何脚本。Specifies that all Microsoft Ajax script features are disabled and that the ScriptManager control does not reference any scripts automatically.

Enabled 0

指定 ScriptManager 控件自动包括 MicrosoftAjax.js 脚本文件,该文件是所有核心框架脚本的合并脚本文件(旧版行为)。Specifies that the ScriptManager control automatically includes the MicrosoftAjax.js script file, which is a combined script file of every core framework script (legacy behavior).

Explicit 2

指定将显式包含对页面所需的单独框架核心脚本文件的脚本引用,并且将包含对每个脚本文件所需的依赖项的引用。Specifies that you will explicitly include script references to individual framework core script file that your page requires, and that you will include references to the dependencies that each script file requires.

适用于