in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Progress bar on reports

Last post 11/14/2008 9:38 AM by Sorin Sandu. 4 replies.
Page 1 of 1 (5 items)
Sort Posts:
Previous Next
  • 11/12/2008 4:24 AM

    Progress bar on reports

     I have a report with a DataSource based on a StoredProcedure which takes about 1 min to execute.

    Is it posible to show something (a progress bar, a message, ...) during loading of report ?

    It takes too long before preview and users don't know what's happening.

    Thank's

    Sorin Sandu
  • 11/12/2008 6:57 AM In reply to

    Re: Progress bar on reports

    Hello,

    In this regard, I would recommend you to check the following example in our Code Central: http://www.devexpress.com/example=E906. It demonstrates implementations of the progress bar for XtraReports versions v2008 vol 2 and the upcoming vol 3 (available in beta), which are slightly different.

    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
  • 11/12/2008 8:43 AM In reply to

    Re: Progress bar on reports

     Thank's for it !

    Another one.

    I have a report with a group header

    In this group header I have a label and a table.

    This label need to be printed only on first page.

    I've done that using label's PrintOnPage where if PageIndex > 0 then e.Cancel = true

    Now I need on this pages to acomodate the GroupHeader height and to move that table to be printed in place of that label (upper because in place of the label it's empty space)

    I've tried xrTable1.Location = new Point(0,40) and GroupHeader1.Height = GroupHeader.Height - 150 but it's not working.

    How can I do this ?

    Sorin Sandu
  • 11/12/2008 9:37 AM In reply to

    Re: Progress bar on reports

    Handling the PrintOnPage event, you cannot move the header's content up. Also, there is no way to obtain the current page number on the BeforePrint event in the current XtraReports version. So, the dilemma cannot be solved by means of using the GroupHeader bands. So, you can start tracking the existing suggestion at http://www.devexpress.com/issue=AS16487, to be notified of its status when it is changed.

    Alternatively, you can try to use the ReportHeader band for the label. Probably, this will suit your needs.

    R&D, .NET Team.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/sc.
  • 11/14/2008 9:38 AM In reply to

    Re: Progress bar on reports

     Another issue

    I found that loading my DataSource takes too long so I've tried to put a simple form to show a wait message before DataSource is loaded.

    Which is the best way to do that ?

    Thank's

    Sorin Sandu
Page 1 of 1 (5 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED