0

how change checked for checkbox in stimulsoft ?

Stimulsoft.Report.Components.StiCheckBox CheckBox1 = stiReport1.GetComponents()["CheckBox1"] as Stimulsoft.Report.Components.StiCheckBox;
            if (CheckBox1.CheckedValue == null || ((bool)CheckBox1.CheckedValue) == false)
            {
                CheckBox1.CheckedValue = true;

            }

 else CheckBox1.CheckedValue = false;
 Invalidate();

the check box does not work, the cannot be checked. Need I set anything else other than "editable"; Thank you.

4

1 回答 1

0

这样您就可以更改报告模板中的复选框值。如果您需要更改呈现报告中的复选框值,您应该以其他方式进行。更详细地描述您的问题,以便给您更准确的答案。

于 2013-01-29T07:12:14.767 回答