Exemplo n.º 1
0
 protected void Page_Init(object sender, EventArgs e)
 {
     if (tab != null && _getSyncUrlMethod == null)
     {
         PXTabItem item = tab.Items["calendar"];
         if (item != null)
         {
             item.Visible = false;
         }
     }
 }
Exemplo n.º 2
0
	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";
					}
			}
		}
		

	}
Exemplo n.º 3
0
    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";
                        }
                    }
                }
            }
        }
    }