protected void ddlState_SelectedIndexChanged(object sender, EventArgs e) { if (ddlState.SelectedIndex > 0) { DropDownManager.GetLGA(ddlLGA, ddlState.SelectedValue.TrimEnd()); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DropDownManager.PopulateYear(ddlYear); DropDownManager.PopulateSchool(ddlSchool); DropDownManager.GetLGA(ddlLocalGovt, "ED"); } }
//DropDownManager dropDownManager = new DropDownManager(); protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { DropDownManager.PopulateRelation(ddlRelation); DropDownManager.GetLGA(ddlLGA, null); DropDownManager.GetState(ddlState); DropDownManager.GetGender(ddlSex); } }
protected void Page_Load(object sender, EventArgs e) { Page.Title = "Add New School"; if (!Page.IsPostBack) { DropDownManager.GetLGA(ddlLGA, "ED"); DropDownManager.GetCategory(ddlSchoolCat); DropDownManager.GetTitle(ddlTitle); ddlLGA.SelectedValue = SessionUser.LgaId.ToString(); } }