?
Solved

Report Viewer Control while report is being generated

Posted on 2009-04-06
1
Medium Priority
?
538 Views
Last Modified: 2012-05-06
Hello,
I am developing some reports and am using report viewer control to display the reports. I am getting the data for the report through a stored procedure which take around a min to return the data set.
I dynamically bind the data set returned from the stored procedure at runtime based on the selection of the report paramters. Once the report is displayed and the users wants to get a new report by changing their selection, the old report is still on the screen and unless the users notice the green bar at the bottom of the screen , there is no way to tell that their result is being processed.

I need some sort of notification for the user so that they realize that request has been submitted and the new report is being processed. I tried using Report.Refresh but that does not. Can anyone help please ?
0
Comment
Question by:rranjan7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
rranjan7 earned 0 total points
ID: 24088448
Never mind, I figured it out...Here is what I did:

<script runat="server">
      private void Page_Load(object sender, System.EventArgs e)
      {
            btnSubmit.Attributes.Add("onclick", "document.getElementById('msgWait').style.display='block'");
      }
</script>

<form runat="server">
   <asp:Button id="btnSubmit" runat="server" Text="Submit" onclick="btnSubmit_Click" /></p>
</form>

<div id="msgWait" style="display:none; color: red"><p>Please wait.  This may take up to a minute...</p></div>

Now as soon as the user clicks on the button , the message gets displayed to the user.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question