Page 1 of 1

Change dataset and refresh in preview

Posted: Thu Nov 17, 2011 4:14 am
by Vidar Aasbakk
Hello,

When changing the dataset when previewing the report in the report editor, I want the report to refresh with the new dataset automatic without pressing the "Refresh button". I have tried to use the following code but it dows not seem to work:

report.DataStore.Clear();
report.RegData(value);
report.Dictionary.Synchronize();
report.InvokeRefreshViewer();

I still have to press the "refresh button" to make the viewer update with the new dataset.

What am I doing wrong?

Change dataset and refresh in preview

Posted: Thu Nov 17, 2011 8:54 am
by Alex K.
Hello,

Please send us your report with test data for analysis.

Thank you.