Beispiel #1
0
 private void Refresh()
 {
     //SetddParentMenu();
     //SetddTargetType();
     //SetTarget();
     //RefreshPopUp();
     TreeViewCustomer.Refresh((int)SystemConstants.MenuType.MemberMenu);
     TreeViewProvider.Refresh((int)SystemConstants.MenuType.ProviderMenu);
     PageSettingMode     = UIMode.View;
     PageSettingModeProv = UIMode.View;
 }
Beispiel #2
0
        protected void imgDownProv_Click(object sender, ImageClickEventArgs e)
        {
            AdministrationBFC bfc = new AdministrationBFC();

            AdministrationEDSC.MenuDTRow dr = new AdministrationEDSC.MenuDTDataTable().NewMenuDTRow();
            dr.ID = Convert.ToInt16(hdnPopUpMenuItemIDProvider.Value);
            bool cannotChangePos;

            bfc.SortMenuItem(dr.ID, false, out cannotChangePos);
            if (cannotChangePos)
            {
                lblWarningProvider.Visible = true;
                lblWarningProvider.Text    = "Cannot Change Pos";
            }
            else
            {
                lblWarningProvider.Visible = false;
                lblWarningProvider.Text    = "";
                TreeViewProvider.Refresh((int)SystemConstants.MenuType.ProviderMenu);
            }
        }