The client script library is a series of *. js files.
Includes:
- AtlasRuntime. js. <Atlas: ScriptManager id = "scriptManager1" runat = "server" enablescriptcomponents = "false"/> Import
- Atlas. js. Default import when <atlas: ScriptManager id = "scriptManager1" runat = "server"/> is used
- AtlasCompat. js.AtlasCompat2.js. Browser compatibility
- AtlasFX. js.
- AtlasUIDragDrop. js.
- AtlasUIGlitz. js.
- AtlasUIMap. js.
- AtlasWebParts. js.
- GadgetRuntime. js.
Several cases of referencing scripts:
<Atlas: ScriptManager id = "scriptManager1" runat = "server" enablescriptcomponents = "false"/>
Only reference AtlasRuntime. js
<Atlas: ScriptManager id = "scriptManager1" runat = "server">
<Scripts>
<Atlas: scriptreference scriptname = "AtlasUIDragDrop"/>
<Atlas: scriptreference scriptname = "AtlasUIGlitz"/>
</Scripts>
</Atlas: ScriptManager>
Add AtlasUIDragDrop and AtlasUIGlitz references without the extension.
Used to reference common *. js: assign a valuecustom
Toscriptname
Attribute, and then addpath
Attribute and provide a path to the custom script.
For details, see:
Http://atlas.asp.net/docs/Overview/AtlasLibraryOverview.aspx