public void ModalReport()
        {
            VentaTicketReportViewer.ProcessingMode = ProcessingMode.Local;
            VentaTicketReportViewer.Reset();

            VentaTicketReportViewer.LocalReport.ReportPath = Server.MapPath(@"~\Reportes\VentaTicketReport.rdlc");
            VentaTicketReportViewer.LocalReport.DataSources.Clear();
            VentaTicketReportViewer.LocalReport.DataSources.Add(new ReportDataSource("VentaTickets", Utilitarios.Utils.ventaTickets()));
            VentaTicketReportViewer.LocalReport.Refresh();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BLL.RepositorioBase <Cliente> repositorio = new BLL.RepositorioBase <Cliente>();
                VentaTicketReportViewer.ProcessingMode = ProcessingMode.Local;
                VentaTicketReportViewer.Reset();

                VentaTicketReportViewer.LocalReport.ReportPath = Server.MapPath(@"~\Reportes\VentaTicketReport.rdlc");
                VentaTicketReportViewer.LocalReport.DataSources.Clear();
                VentaTicketReportViewer.LocalReport.DataSources.Add(new ReportDataSource("VentaTickets", repositorio.GetList(x => true)));
                VentaTicketReportViewer.LocalReport.Refresh();
            }
        }