We just migrated our application from VS. NET to VS. NET Previously, we had a small dialog Show with a timer to show it's still processing and a "Please want Then we would open a form with a CrystalReportViewer control in the background. We had it disabled and minimixed.
|Published (Last):||4 February 2008|
|PDF File Size:||16.9 Mb|
|ePub File Size:||6.18 Mb|
|Price:||Free* [*Free Regsitration Required]|
We just migrated our application from VS. NET to VS. NET Previously, we had a small dialog Show with a timer to show it's still processing and a "Please want Then we would open a form with a CrystalReportViewer control in the background.
We had it disabled and minimixed. Once Show returned control, it would maximize the finished report and would bring the window to the front, closing the little "Please wait" window. This allowed us to have a visible progress on report generation, especially those that ran for a minute or greater via our stored procedures. Migrating to VS. NET broke this. Apparently as soon as CrystalReportViewer.
ReportSource is set and we tell it to Show , it will display the form before the report finishes, and return control immediately. This closes our waiting window instantly and leaves a big blank report sitting in front of the user for up to a minute. Apparently, Crystal Reports 10 has no event that fires once a report has finished rendering. I found one available within CR11 and VS. Can you explain or post the code you were using to test when the reprot was done, as in how do your little message box get told the reprot was finished?
Only functionality we had to get that info was using the progress indicator which they broke in CR 10 and never fixed for various reasons they could not. Where frmWait is nothing but a tiny form with the words "Please wait This code would, in VS. NET , open frmW, open frm, wait for frm to finish generating the report, then frmW would Close and frm would maximize. And it's less of a "limitation" as it is a framework improvement.
As it stands, the Show method of TextBox objects appears to thread out its processing instead, instead of waiting for different controls to render, etc. Show no longer keeps control unless you set the WindowState property to Maximized before calling it.
Now the window will wait to render the full ReportViewer control before returning control to the function that called the Form's Show method. Not what you're looking for? Search community questions. This question has been deleted. This question has been undeleted. Former Member. Posted on Sep 24, at PM Views. Add comment. Related questions. Sort by: Votes Newest Oldest. Best Answer.
This answer has been deleted. This answer has been undeleted. Posted on Sep 24, at PM. Unfortunately, you're looking at CR and web apps only. Alert Moderator. You already have an active moderator alert for this content.
Sep 24, at PM. Hi Adam, Can you explain or post the code you were using to test when the reprot was done, as in how do your little message box get told the reprot was finished? Thank you Don.
Show all. Show frm. Minimized frm. Show frmW. Default frm. Maximized frm. Zoom 1 Where frmWait is nothing but a tiny form with the words "Please wait Now, it no longer waits for returned control at frm.
Show as it used to. Former Member Don Williams. Sep 26, at PM. Well, we moved from Visual Studio. NET to , so it's. NET 2. The assembly is version Posted on Oct 07, at PM. Okay, figured it out on accident. Not a real solution, but it works. Show foo 'This will not execute until the report is fully rendered in frm.
Crystal Reports not rendering when webpage is served outside of network
Subscribe to RSS