i have the following Issue.
In my Report I can add datasets by clicking certain Textfields in the Databands.
After adding the new dataset I render by Report.Render(true).
The Problem is that after rendering the view jumps again to the top of the ReportView.
It would be important for us that the report-user doesn't have to scroll manually, after rendering, to the position
where the new Dataset was inserted.
The thing that I've tried out is to find the Label of the new dataset by:
Code: Select all
[StiFindHelper finder = new StiFindHelper();
finder.StartFind("lorem", this.RenderedPages, true, true);
However this ends with the following exception (invalid file format):
Code: Select all
bei System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
bei System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
bei System.Windows.Forms.RichTextBox.set_Rtf(String value)
bei Stimulsoft.Report.Viewer.StiFindHelper.StartFind(String value, StiPagesCollection pages, Boolean matchCase, Boolean matchWholeWord)
bei Reports.Report.FindText()
bei Stimulsoft.Report.Components.StiComponent.InvokeClick(Object sender, EventArgs e)
bei Stimulsoft.Report.Viewer.StiViewerControl.View_Click(Object sender, EventArgs e)
Or is there another Way to solve my problem?