Hi,
Im working on a project in asp.net with C#,
I have done a report (using Crystal Reports) but I can't find a way to show it in my site.

I create a new .aspx which has a Crystal Report Viewer (connected with the Report previously created) and I have a button which opens this .aspx file

        protected void btn_Recibo_Click(object sender, EventArgs e)
            {
                Response.Redirect("ReporteReciboFecha.aspx");            
            }

But when I click in the button it does redirect me to the aspx form, but it stays in white, it doesn't show anything.

try something like this

reportViewer1.report= new myReport();

This code works for telerik reports. hope this will help you

Regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.