Saturday, February 25, 2012

Message when performing end user sort

Hi,

I have added interactive sort to report. When i perform the sort in the preview of the report, i see a message 'Report is being generated'. But when i do the sorting from Report viewer control, the screen goes blank before the sorted data comes up.

Is there any way I can display a message telling sorting is in progress?

Any help in this regard is appreciated.

Thanks.

Possibly you could do this by handling the Sort event.

Maybe put a Label above the report viewer and make invisible on report viewer sort? I haven't tried it, but it's an idea.

Code Snippet

Private Sub ReportViewer1_Sort(ByVal sender As Object, ByVal e As Microsoft.Reporting.WebForms.SortEventArgs) Handles ReportViewer1.Sort

End Sub

|||

Thanks for your reply. But I am not able to find a sort event for the report. The only events I get are the ReportSnapshotUpdated and ReportHistorySnaphot.

Also from my application, I am just calling the Report server URL for the report viewer.

Can you please tell me how I can proceed in thi scnario.

|||This event can only be handled on the report viewer in Visual Studio 2005.

No comments:

Post a Comment