Example #1
0
    protected void btnImport_Click(object sender, EventArgs e)
    {
        wwDbResXConverter Converter = new wwDbResXConverter(Context.Request.PhysicalApplicationPath);

        Converter.ImportWebResources();
        ErrorDisplay.ShowMessage(Res("ResourceImportComplete"));

        lstResourceIds.SelectedValue = null;
        GetResourceSet();
    }
Example #2
0
    protected void btnImport_Click(object sender, EventArgs e)
    {
#if OnlineDemo
        this.ErrorDisplay.ShowError(Res("FeatureDisabled"));
        return;
#endif

        wwDbResXConverter Converter = new wwDbResXConverter(this.Context.Request.PhysicalApplicationPath);
        Converter.ImportWebResources();
        this.ErrorDisplay.ShowMessage(Res("ResourceImportComplete"));

        this.lstResourceIds.SelectedValue = null;
        this.GetResourceSet();
    }
Example #3
0
    protected void btnExportResources_Click(object sender, EventArgs e)
    {
        wwDbResXConverter Exporter = new wwDbResXConverter(this.Context.Request.PhysicalApplicationPath);

        if (!Exporter.GenerateLocalResourceResXFiles())
        {
            ErrorDisplay.ShowError(Res("ResourceGenerationFailed"));
            return;
        }
        if (!Exporter.GenerateGlobalResourceResXFiles())
        {
            ErrorDisplay.ShowError(Res("ResourceGenerationFailed"));
            return;
        }

        this.ErrorDisplay.ShowMessage(Res("ResourceGenerationComplete"));
    }
Example #4
0
    protected void btnImport_Click(object sender, EventArgs e)
    {
        wwDbResXConverter Converter = new wwDbResXConverter(Context.Request.PhysicalApplicationPath);
        Converter.ImportWebResources();
        ErrorDisplay.ShowMessage(Res("ResourceImportComplete"));

        lstResourceIds.SelectedValue = null;
        GetResourceSet();
    }
Example #5
0
    protected void btnExportResources_Click(object sender, EventArgs e)
    {
        wwDbResXConverter Exporter = new wwDbResXConverter(Context.Request.PhysicalApplicationPath);

        if (!Exporter.GenerateLocalResourceResXFiles())
        {
            ErrorDisplay.ShowError(Res("ResourceGenerationFailed"));
            return;
        }
        if (!Exporter.GenerateGlobalResourceResXFiles())
        {
            ErrorDisplay.ShowError(Res("ResourceGenerationFailed"));
            return;
        }

        ErrorDisplay.ShowMessage(Res("ResourceGenerationComplete"));
    }
Example #6
0
    protected void btnImport_Click(object sender, EventArgs e)
    {
        #if OnlineDemo
        this.ErrorDisplay.ShowError(Res("FeatureDisabled"));
        return;
        #endif

        wwDbResXConverter Converter = new wwDbResXConverter(this.Context.Request.PhysicalApplicationPath);
        Converter.ImportWebResources();
        this.ErrorDisplay.ShowMessage(Res("ResourceImportComplete"));

        this.lstResourceIds.SelectedValue = null;
        this.GetResourceSet();
    }