/// <summary> /// Initialization of tabs. /// </summary> public override void OnInitTabs() { var page = (CMSPage)Control.Page; Control.OnTabCreated += OnTabCreated; // Setup the document manager documentManager = page.DocumentManager; ScriptHelper.RegisterClientScriptBlock(page, typeof(string), "refreshtree", ScriptHelper.GetScript("function RefreshTree(expandNodeId, selectNodeId) { parent.RefreshTree(expandNodeId, selectNodeId); } function SelectNode(selectNodeId) { parent.SelectNode(selectNodeId); }")); }
/// <summary> /// Initialization of tabs. /// </summary> public override void OnInitTabs() { var page = (CMSPage)Control.Page; // Setup the document manager DocumentManager = page.DocumentManager; ScriptHelper.RegisterScriptFile(Control.Page, "~/CMSModules/Content/CMSDesk/Properties/PropertiesTabs.js"); Control.OnTabCreated += OnTabCreated; }