protected void Export_PDFBtn_Click(object sender, DirectEventArgs e)
        {
            string formatoSalida = "";
            try
            {
                COCASJOL.LOGIC.Inventario.InventarioDeCafeLogic reporteLogic = new COCASJOL.LOGIC.Inventario.InventarioDeCafeLogic();

                List<COCASJOL.DATAACCESS.reporte_total_inventario_de_cafe_por_socio> ReporteInventarioDeCafeDeSociosLst = reporteLogic.GetInventarioDeCafeDeSocios
                    (this.f_SOCIOS_ID.Text,
                    this.f_SOCIOS_NOMBRE_COMPLETO.Text,
                    string.IsNullOrEmpty(this.f_CLASIFICACIONES_CAFE_ID.Text) ? 0 : Convert.ToInt32(this.f_CLASIFICACIONES_CAFE_ID.Text),
                    string.IsNullOrEmpty(this.f_INVENTARIO_ENTRADAS_CANTIDAD.Text) ? -1 : Convert.ToInt32(this.f_INVENTARIO_ENTRADAS_CANTIDAD.Text),
                    string.IsNullOrEmpty(this.f_INVENTARIO_SALIDAS_SALDO.Text) ? -1 : Convert.ToInt32(this.f_INVENTARIO_SALIDAS_SALDO.Text),
                    "",
                    default(DateTime));

                ReportDataSource datasourceInventarioCafeSocios = new ReportDataSource("ResumenDeInventarioDeCafeDeSociosDataSet", ReporteInventarioDeCafeDeSociosLst);

                ReportParameterCollection reportParamCollection = new ReportParameterCollection();
                reportParamCollection.Add(new ReportParameter("parMostrarQuintales", this.p_QUINTALES.Checked.ToString()));

                formatoSalida = "PDF";

                string rdlPath = "~/resources/rdlcs/ReportResumenInventarioDeCafeDeSocios.rdlc";

                this.CreateFileOutput("ReporteResumenInventarioDeCafeDeSocios", formatoSalida, rdlPath, datasourceInventarioCafeSocios, reportParamCollection);
            }
            catch (Exception ex)
            {
                log.Fatal(string.Format("Error fatal al generar reporte. Formato de salida: {0}", formatoSalida), ex);
                throw;
            }
        }