Solved

Report Viewer Control while report is being generated

Posted on 2009-04-06
1
535 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to set focus on a dynamic control 18 52
SQL Server Serialization error 8 45
Call to SQL server times out 5 55
Difference between Leaflet and MapBox? 5 45
IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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