/// <summary> /// Called when page is initialized for the first time. /// </summary> protected void OnViewInitialized() { DefaultState = new State(AccountInfo.StateFIPS); IsAdmin = AccountInfo.IsAdmin; Scope = (Scope)AccountInfo.ScopeId; BindDependentData(); }
protected void dropDownListState_SelectedIndexChanged(object sender, EventArgs e) { DefaultState = new State(((DropDownList)sender).SelectedValue); BindDependentData(); formViewAgencyLocation.DataBind(); }