protected void Page_Init(object sender, EventArgs e) { if (tab != null && _getSyncUrlMethod == null) { PXTabItem item = tab.Items["calendar"]; if (item != null) { item.Visible = false; } } }
protected void Page_Init(object sender, EventArgs e) { this.webSitePathsTabItem = this.tab.Items[4]; //find import button for (int i = 0; i < ds.ToolBar.Items.Count; i++) { PXToolBarButton TemplateControl = ds.ToolBar.Items[i] as PXToolBarButton; if (TemplateControl != null) { if (TemplateControl.Text == "DITA") for (int j = 0; j < TemplateControl.MenuItems.Count; j++) { if (TemplateControl.MenuItems[j].CommandName == "dITA@Import") TemplateControl.MenuItems[j].PopupPanel = "pnlUploadFileSmart_DITA"; } } } }
protected void Page_Init(object sender, EventArgs e) { this.webSitePathsTabItem = this.tab.Items[4]; //find import button for (int i = 0; i < ds.ToolBar.Items.Count; i++) { PXToolBarButton TemplateControl = ds.ToolBar.Items[i] as PXToolBarButton; if (TemplateControl != null) { if (TemplateControl.Text == "DITA") { for (int j = 0; j < TemplateControl.MenuItems.Count; j++) { if (TemplateControl.MenuItems[j].CommandName == "dITA@Import") { TemplateControl.MenuItems[j].PopupPanel = "pnlUploadFileSmart_DITA"; } } } } } }