Beispiel #1
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            ExportFeed.RefreshModuleSetting(ModuleName, "FileName", FileNameTextBox.Text + "." + GetFileExtention(ModuleName));
            ExportFeed.RefreshModuleSetting(ModuleName, "Currency", CurrencyListBox.SelectedValue);
            ExportFeed.RefreshModuleSetting(ModuleName, "DescriptionSelection", DescriptionSelectListBox.SelectedValue);
            ExportFeed.RefreshModuleSetting(ModuleName, "RemoveHTML", chbRemoveHTML.Checked.ToString());

            if (ModuleName == "YandexMarket")
            {
                ExportFeed.RefreshModuleSetting(ModuleName, "Delivery", chbDelivery.Checked.ToString());
                ExportFeed.RefreshModuleSetting(ModuleName, "LocalDeliveryCost", chbLocalDelivery.Checked.ToString());
                ExportFeed.RefreshModuleSetting(ModuleName, "Properties", cbProperties.Checked.ToString());
                ExportFeed.RefreshModuleSetting(ModuleName, "SalesNotes", SalesNotesTextBox.Text);
                ExportFeed.RefreshModuleSetting(ModuleName, "ShopName", txtShopName.Text);
                ExportFeed.RefreshModuleSetting(ModuleName, "CompanyName", txtCompanyName.Text);
            }

            if (ModuleName == "GoogleBase")
            {
                ExportFeed.RefreshModuleSetting(ModuleName, "DatafeedTitle", DatafeedTitleTextBox.Text);
                ExportFeed.RefreshModuleSetting(ModuleName, "DatafeedDescription", DatafeedDescriptionTextBox.Text);
                ExportFeed.RefreshModuleSetting(ModuleName, "GoogleProductCategory", GoogleProductCategoryTextBox.Text);
            }
            saveSuccess.Visible = true;
        }
Beispiel #2
0
    protected void Unnamed12_Click(object sender, EventArgs e)
    {
        ExportFeed.RefreshModuleSetting(ModuleName, "FileName", FileNameTextBox.Text + "." + GetFileExtention(ModuleName));
        ExportFeed.RefreshModuleSetting(ModuleName, "SalesNotes", SalesNotesTextBox.Text);
        ExportFeed.RefreshModuleSetting(ModuleName, "Currency", CurrencyListBox.SelectedValue);
        ExportFeed.RefreshModuleSetting(ModuleName, "DescriptionSelection", DescriptionSelectListBox.SelectedValue);

        if (ModuleName == "YandexMarket")
        {
            ExportFeed.RefreshModuleSetting(ModuleName, "ShopName", txtShopName.Text);
            ExportFeed.RefreshModuleSetting(ModuleName, "CompanyName", txtCompanyName.Text);
        }

        if (ModuleName == "GoogleBase")
        {
            ExportFeed.RefreshModuleSetting(ModuleName, "DatafeedTitle", DatafeedTitleTextBox.Text);
            ExportFeed.RefreshModuleSetting(ModuleName, "DatafeedDescription", DatafeedDescriptionTextBox.Text);
        }
        saveSuccess.Visible = true;
    }