private void BindRegistry()
 {
     GiftRegistry = GiftRegistries.GetGiftRegistry(0, 0, EmailTextBox.Text, true);
     if (GiftRegistry.IsPublic || GetLoggedCustomerID() > -1)
     {
         GiftRegistryListView.DataSource = GiftRegistry.Products;
         GiftRegistryListView.DataBind();
     }
     else if (!GiftRegistry.IsPublic)
     {
         PrivateListLiteral.Visible = true;
     }
 }
Exemple #2
0
 private void BindRegistry()
 {
     giftRegistry = GiftRegistries.GetGiftRegistry(0, GetLoggedCustomerID(), string.Empty, true);
     GiftRegistryListView.DataSource = giftRegistry.Products;
     GiftRegistryListView.DataBind();
     if (giftRegistry.IsPublic)
     {
         VisibilityRadioButtonList.SelectedValue = "true";
     }
     else
     {
         VisibilityRadioButtonList.SelectedValue = "false";
     }
 }