Welcome
|
News
|
QuickStart
|
Download
|
Support
|
About
ScriptLoader@sourceforge.net
QuickStart -> Server Programming
Getting Started
Introduction
What's feature in ScriptLoader
How Do I
How to configure a javascript file as a module?
How to configure a dependence of a module?
How to load a module on client?
How to load a module on server?
Advance Features
Load automatically all dependeces
Update automatically the version and cache of script
Register a ScripLoader httphanlder in web.config
Register a ScriptLoader instance
//recommend protected void Page_Load(object sender, EventArgs e) { LangZi.Scripts.ScriptLoader loader = LangZi.Scripts.ScriptLoader.RegisterInstance(this.Page); }
or
Call the "Load" funtion to import a module
protected void Page_Load(object sender, EventArgs e) { LangZi.Scripts.ScriptLoader loader = LangZi.Scripts.ScriptLoader.RegisterInstance(this.Page); loader.Load("CSharp"); loader.Load("Javascript"); loader.Load("XML"); }