protected void btnUp_ServerClick(object sender, EventArgs e) { try { int menuID = CurrentSelectMenuID; if (menuID > 0) { SystemMenu systemMenu = systemMenuServiceInstance.FindById(menuID); systemMenuServiceInstance.MovePostion(systemMenu, 1); BindManageMenuTreeByApplicationIDAndSelectNodeID(this.ddlSelectApplication.SelectedValue, menuID.ToString()); this.lblMessage.Text = "向上移动菜单成功!"; } else { BindManageMenuTreeByApplicationIDAndSelectNodeID(this.ddlSelectApplication.SelectedValue, "0"); } } catch (Exception ex) { this.lblMessage.Text = "系统错误:" + ex.Message; this.btnSave.Disabled = true; } }