protected void ExportButton_Click(Object sender, EventArgs e)
        {
            GenericExportManager <ReferrerSalesSummary> exportManager = GenericExportManager <ReferrerSalesSummary> .Instance;
            GenericExportOptions <ReferrerSalesSummary> options       = new GenericExportOptions <ReferrerSalesSummary>();

            options.CsvFields = new string[] { "Referrer", "OrderCount", "ProductSubtotal", "SalesTotal" };

            DateTime fromDate = AlwaysConvert.ToDateTime(HiddenStartDate.Value);
            DateTime toDate   = AlwaysConvert.ToDateTime(HiddenEndDate.Value);
            IList <ReferrerSalesSummary> reportData = ReportDataSource.GetSalesByReferrer(fromDate, toDate, "OrderCount DESC");

            options.ExportData = reportData;
            options.FileTag    = string.Format("SALES_BY_REFERRER(from_{0}_to_{1})", fromDate.ToShortDateString(), toDate.ToShortDateString());
            exportManager.BeginExport(options);
        }