Example #1
0
 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();
     }
 }
Example #2
0
 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;
     }
 }