none
Local Reports rendering issues RRS feed

  • Question

  • I do not know how to call this issue, maybe it is a bug in the rendering engine of the report viewer.

     

    I created the RDLC file in an application just to set its design and data bindings.  This file will be used in the production environment and all of its properties will be filled programatically (data sources, parameters, class references).

     

    The issue appears randomly and it is caused by the location of the following instruction

     

    Code Snippet
    this.report_view.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);

     

     

     

    if it is located before the RefreshReport method everything works fine (at least in some tests I made).

     

    it it is located after the RefreshReports something happens, some of the results are

     

    - Display two pages even if the report has only one (the page is repeated once)
    - Display less pages (the first page is not accesible, even from the navigator)
    - A GDI+ error ...

     

    PS How could I post the sample project and RDLC?

    Monday, April 21, 2008 9:21 PM