public void setddl(string level, string ids) { try { SetDDLVisibility _obj = new SetDDLVisibility(); _obj.fillProp(level, ids); Bind_DDL_SuperZone(); DDLSuperZone.Enabled = _obj.DdlSZone; DDLSuperZone.SelectedValue = _obj.DDlSzIDValue.ToString(); } catch (Exception ex) { } }
public void setddl(string level, string ids) { try { SetDDLVisibility _obj = new SetDDLVisibility(); _obj.fillProp(level, ids); ddlSDZone.Enabled = _obj.DdlSDZone; ddlSDZone.SelectedValue = _obj.DDlSdzIDValue.ToString(); Bind_DDL_SuperZone(); DDLSuperZone.Enabled = _obj.DdlSZone; DDLSuperZone.SelectedValue = _obj.DDlSzIDValue.ToString(); Bind_DDL_Zone(); DDLZone.SelectedValue = _obj.DDlZIDValue.ToString(); DDLZone.Enabled = _obj.DdlZone; //DDLZone.Focus(); } catch { } }