Hi,
I'm running a report viewer in WPF. My screen has a dropdown list of reports, two datepickers, and a refresh button. The user selects a report from the dropdown, selects the date range, and hits the refresh button to generate the report.
I have found that when the refresh button is clicked, the report viewer will immediately say "The Operation was Canceled". This message will last until the report is actually generated.
In the code behind for the refresh button, we take the selected report and give it a data source based on some internal methods to actually put the data together. Then we set the reportviewer's report to the report that we are generating, and then fire off the RefreshReport method.
Did I miss a step here that is causing this message to show up? I saw a reference in an old thread to the message and it said that it would be fixed in one of last year's builds. Any help would be appreciated.
Thanks.
I'm running a report viewer in WPF. My screen has a dropdown list of reports, two datepickers, and a refresh button. The user selects a report from the dropdown, selects the date range, and hits the refresh button to generate the report.
I have found that when the refresh button is clicked, the report viewer will immediately say "The Operation was Canceled". This message will last until the report is actually generated.
In the code behind for the refresh button, we take the selected report and give it a data source based on some internal methods to actually put the data together. Then we set the reportviewer's report to the report that we are generating, and then fire off the RefreshReport method.
Did I miss a step here that is causing this message to show up? I saw a reference in an old thread to the message and it said that it would be fixed in one of last year's builds. Any help would be appreciated.
Thanks.