private void FillToLocations() { int locTypeId = ddlToLocType.SelectedValue.ToInt(); if (locTypeId == Enums.LOCATION_TYPES.POSTCODE) { ComboFunctions.FillPostCodeLocationsCombo(ddlToLocation, c => c.LocationTypeId == locTypeId); } //else if (ddlToLocType.Text.Trim().ToLower() == "zone") //{ // ComboFunctions.FillZonesPlottedCombo(ddlToLocation); //} else { ComboFunctions.FillLocationsCombo(ddlToLocation, c => c.LocationTypeId == locTypeId); } }