Example #1
0
 protected void ASPxTreeList_Department2_CustomCallback(object sender, TreeListCustomCallbackEventArgs e)
 {
     ASPxTreeList_Department2.DataBind();
     if (ASPxTreeList_Department2.Nodes.Count > 0)
     {
         ASPxTreeList_Department2.Nodes[0].Focus();
     }
 }
Example #2
0
 public bool OrganizationEditing_CRUD()
 {
     //Load Data vào form
     XpoOrganization.CriteriaParameters["OrganizationId"].DefaultValue = OrganizationId.ToString();
     // load data vào cây thư mục
     XpoDepartment.CriteriaParameters["OrganizationId"].DefaultValue = OrganizationId.ToString();
     ASPxTreeList_Department2.DataBind();
     loadListUsers(ASPxTreeList_Department2.FocusedNode);
     //DepartmentBO bo = new DepartmentBO();
     //LoginPersonLST = bo.getAllPeopleInOrganization(session, OrganizationId);
     return(true);
 }