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(); }
private void SetupScripts() { ExtScriptManager.IncludeBase(Page, ExtJsBasePath); if (DebugMode) { ExtScriptManager.IncludeAllDebug(Page, ExtJsBasePath); } else { ExtScriptManager.IncludeAll(Page, ExtJsBasePath); } DoSetup(); }
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(); }