Пример #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();
        }