protected override void populatePickup() { DropdownNickName.Items.Clear(); if (_pickupRrefList != null && _pickupRrefList.Count > 0) { DropdownNickName.DataSource = from p in _pickupRrefList select new { DisplayName = p.PickupLocationNickname, p.ID }; DropdownNickName.DataBind(); } }
protected void populatePickupPreference() { DropdownNickName.Items.Clear(); if (_pickupRrefList != null && _pickupRrefList.Count > 0) { DropdownNickName.DataSource = from p in _pickupRrefList select new { DisplayName = p.PickupLocationNickname, p.ID }; DropdownNickName.DataBind(); } else { DropdownNickName.Visible = false; divshipToOrPickup.Visible = false; } }