ASP.NET Report Load and doesn't display

brice3434brice3434 France
edited April 2015 in FastReport 4.0
Hello everyone,

I tried FastReport, created a .frx file with de designer and tried to display it on my ASP WebPage.
Here is my code :
public partial class DemoImpression:System.Web.UI.Page
    {
        protected void Page_Load(object sender,EventArgs e)
        {
            if(!IsPostBack)
            {
                WebReport1.Prepare();
            }
        }

        protected void WebReport1_StartReport(object sender,EventArgs e)
        {
            string fileName=@"~/Report/TestFacture.frx";
            WebReport1.Report.LoadPrepared(fileName);
            WebReport1.ReportDone=true;
        }
    }

But when I go to my page, the report keeps loading and doesn't display :
594875chargement.jpg

May someone had the same problem and succeeded to display it ?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.