Solved

Report Viewer Control while report is being generated

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 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