I am in the process of upgrading from 2014.2 to 2021.4 and run into a strange problem. If I preview a report the report checker will keeps flashing, so it shows/hides/shows/hides/shows/hide.... until you will break the application. I have simulated this with the following (clean) code. It shows the designer, and if you open the attached report and presses preview I am getting this behaviour.
The datasources behind this report are deleted (it also goes wrong when they still are there but not correct anymore). This will trigger the report checker of course, but it should not goes on and off.
I have already tried to disable the automatic report checker but I cannot find how. Please help.
Thanks
Paul
Code: Select all
Imports Stimulsoft.Report
Public Class Form1
Private WithEvents StiDesignerControl1 As Stimulsoft.Report.Design.StiDesignerControl
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Public Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
Try
Stimulsoft.Base.StiLicense.Key = "xxxxx"
StiDesignerControl1 = New Stimulsoft.Report.Design.StiDesignerControl
StiDesignerControl1.Dock = DockStyle.Fill
Me.Controls.Add(StiDesignerControl1)
StiDesignerControl1.Visible = True
StiDesignerControl1.Report = New StiReport
Catch ex As Exception
End Try
End Sub
End Class