protected void LoadParentOffice() { string[] strArr = ddlOffType.SelectedItem.Text.ToString().Split('-'); if (string.IsNullOrEmpty(strArr[1]) == false) { Common.FillDropDownList(objTMM.SelectParentList(Convert.ToDecimal(strArr[1])), ddlParentOff, "officetitle", "officeid", true); } hfDivisionID.Value = objTMM.GetOfficeTypeWiseDivisionID(ddlOffType.SelectedValue.Trim()); }