Exemple #1
0
 void BindDdlOrgans()
 {
     this.ddlOrgan.EnableSimulateTree         = true;
     this.ddlOrgan.DataTextField              = "Name";
     this.ddlOrgan.DataValueField             = "Guid";
     this.ddlOrgan.DataSimulateTreeLevelField = "TreeLevel";
     this.ddlOrgan.DataSource = OrganizationList.GetTreeGridData();
     this.ddlOrgan.DataBind();
 }
 void BindDdlParent()
 {
     this.ddlParent.EnableSimulateTree         = true;
     this.ddlParent.DataTextField              = "Name";
     this.ddlParent.DataValueField             = "Guid";
     this.ddlParent.DataSimulateTreeLevelField = "TreeLevel";
     //this.ddlParent.DataEnableSelectField = "Enabled";
     this.ddlParent.DataSource = OrganizationList.GetTreeGridData();
     this.ddlParent.DataBind();
 }