예제 #1
0
 /// <summary>
 /// Intended to register, by name, any dependent javascripts that have been
 /// compiled into the JSUI folder.  Documentation on
 /// what these scripts are will come when time allows.
 /// </summary>
 /// <param name="coreScriptName"></param>
 internal void RegisterCoreJavaScript(string coreScriptName)
 {
     JavascriptResourceManager.AddCoreScript(coreScriptName);
 }
예제 #2
0
        /// <summary>
        /// Create a new instance of a JavascriptPage page
        /// </summary>
        public JavascriptPage() : base()
        {
            //this.EnableViewState = false;
            jsonControls              = new Dictionary <string, JsonControl>();
            jsonControlsByDomId       = new Dictionary <string, JsonControl>();
            FindJavascriptControls    = false;
            JavascriptResourceManager = new JavascriptResourceManager(this);
#if DEBUG
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.debug.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.qunit.js");
#endif
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsondata.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.aes.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsondatetime.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsonserializer.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsonsearcher.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.popper.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.arrowlist.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.cookies.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.databox.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.boxmgr.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.callbacks.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsoninvoker.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsoninputtoggler.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsoninput.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.animation.js"); // useless.  concept moved to Effects.animate
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.scrollable.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.effects.js");
            //JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsonfunction.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.msajaxinterop.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.events.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.dommgr.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsonproxy.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.sha1.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.conf.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jsui.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jquery-ui.js");
            JavascriptResourceManager.AddCoreScript("naizari.javascript.jsui.jquery.js");
        }