Refresh a checkbox after render
Posted: Wed Dec 07, 2022 10:52 am
Hi,
In a report, we used checkbox components with this script in the click event :
It works well, but we must scroll the report in the viewer to see the change of state.
Here is a capture : Is there a solution to prevent this effect ?
Thanks,
Arnaud
In a report, we used checkbox components with this script in the click event :
Code: Select all
Stimulsoft.Report.Components.StiCheckBox check = sender as Stimulsoft.Report.Components.StiCheckBox;
if (check.CheckedValue == null || ((bool)check.CheckedValue) == false)
check.CheckedValue = true;
else
check.CheckedValue = false;
Invalidate();
Here is a capture : Is there a solution to prevent this effect ?
Thanks,
Arnaud