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; }
protected void imgDown_Click(object sender, ImageClickEventArgs e) { AdministrationBFC bfc = new AdministrationBFC(); AdministrationEDSC.MenuDTRow dr = new AdministrationEDSC.MenuDTDataTable().NewMenuDTRow(); dr.ID = Convert.ToInt16(hdnPopUpMenuItemID.Value); bool cannotChangePos; bfc.SortMenuItem(dr.ID, false, out cannotChangePos); if (cannotChangePos) { lblWarning.Visible = true; lblWarning.Text = "Cannot Change Pos"; } else { lblWarning.Visible = false; lblWarning.Text = ""; TreeViewCustomer.Refresh((int)SystemConstants.MenuType.MemberMenu); } }