示例#1
0
        private void SetupScripts()
        {
            ExtScriptManager.IncludeBase(Page, ExtJsBasePath);

            if (DebugMode)
            {
                ExtScriptManager.IncludeAllDebug(Page, ExtJsBasePath);
            }
            else
            {
                ExtScriptManager.IncludeAll(Page, ExtJsBasePath);
            }

            StateManager.Require(Page);

            if (useFormViewport)
            {
                Page.ClientScript.RegisterClientScriptBlock(
                    typeof(ExtScriptManager),
                    "ext-formviewport", "\n<script type=\"text/javascript\" src=\""
                    + Page.ResolveUrl(extJsBasePath + "ext-C/FormViewport.js") + "\" ></script>");
            }


            DoSetup();
        }
示例#2
0
        private void SetupScripts()
        {
            ExtScriptManager.IncludeBase(Page, ExtJsBasePath);
            if (DebugMode)
            {
                ExtScriptManager.IncludeAllDebug(Page, ExtJsBasePath);
            }
            else
            {
                ExtScriptManager.IncludeAll(Page, ExtJsBasePath);
            }


            DoSetup();
        }
示例#3
0
        private void SetupScripts()
        {
            ExtScriptManager.IncludeBase(Page, ExtJsBasePath);

            if (DebugMode)
            {
                ExtScriptManager.IncludeAllDebug(Page, ExtJsBasePath);
            }
            else
            {
                ExtScriptManager.IncludeAll(Page, ExtJsBasePath);
            }

            ExtScriptManager.IncludeTableGrid(Page, ExtJsBasePath);

            //StateManager.Require(Page);

            DoSetup();
        }