Ejemplo n.º 1
0
 public void Populate(Vevo.Domain.Configurations.Configuration config)
 {
     uxPanel.CssClass   = "CommonConfigRow";
     uxSubPanel.Visible = true;
     Refresh();
     CurrentSelected = config.Values[Convert.ToInt32(CurrentStore.StoreID)].ItemValue;
 }
Ejemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!MainContext.IsPostBack)
        {
            Vevo.Domain.Configurations.Configuration config =
                DataAccessContext.Configurations["ProductSpecialEffectMode"];
            string[] fieldValue = config.SelectionValues.Split('|');
            string[] fieldName  = config.SelectionNames.Split('|');
            if (fieldName.Length == fieldValue.Length)
            {
                uxTodaySpecialModuleEffectDrop.Items.Clear();
                for (int i = 0; i < fieldName.Length; i++)
                {
                    uxTodaySpecialModuleEffectDrop.Items.Add(new ListItem(fieldName[i], fieldValue[i]));
                }
            }
        }

        uxSpecialOfferUpload.PathDestination      = _pathUpload;
        uxPaymentLogoUpload.PathDestination       = _pathUpload;
        uxFeaturedMerchantUpload1.PathDestination = _pathUpload;
        uxFeaturedMerchantUpload2.PathDestination = _pathUpload;
        uxFeaturedMerchantUpload3.PathDestination = _pathUpload;
        uxFreeShippingUpload.PathDestination      = _pathUpload;
        uxSecureUpload.PathDestination            = _pathUpload;

        if (!IsAdminModifiable())
        {
            uxSpecialOfferUploadLinkButton.Visible      = false;
            uxPaymentLogoUploadLinkButton.Visible       = false;
            uxFeaturedMerchantUpload1LinkButton.Visible = false;
            uxFeaturedMerchantUpload2LinkButton.Visible = false;
            uxFeaturedMerchantUpload3LinkButton.Visible = false;
            uxFreeShippingUploadLinkButton.Visible      = false;
            uxSecureUploadLinkButton.Visible            = false;
        }
        SetImageTextBoxesWithUpload();
    }
Ejemplo n.º 3
0
 public void Populate(Vevo.Domain.Configurations.Configuration config)
 {
     PopulateControls();
 }
Ejemplo n.º 4
0
 public void Populate(Vevo.Domain.Configurations.Configuration config)
 {
     // throw new Exception( "The method or operation is not implemented." );
     PopulateControls();
 }