Hi All,
I am new to stimulsoft,
i have generate a report ,but in the report a field contains checkbox with right mark but when i export to excel i need to display X .
How ca i do this.
Thanks in advanced,
Ramu
How to get X instead of checkbox in Stimulsoft
-
- Posts: 2
- Joined: Wed Feb 01, 2017 6:41 am
How to get X instead of checkbox in Stimulsoft
- Attachments
-
- IN my report report.png (3.61 KiB) Viewed 2047 times
-
- I_need_to_display_in_excel.png (2.11 KiB) Viewed 2047 times
Re: How to get X instead of checkbox in Stimulsoft
Hello,
You can select necessary type in the CheckStyle property.
Thank you.
You can select necessary type in the CheckStyle property.
Thank you.
- Attachments
-
- Capture.PNG (23.02 KiB) Viewed 2043 times
-
- Posts: 2
- Joined: Wed Feb 01, 2017 6:41 am
Re: How to get X instead of checkbox in Stimulsoft
Hi AleKsey,
Thank's for your reply. But Client requirement is in the report we need to show "checked Rectangle",It's Ok.
But When export that report into excel page the all "checked Rectangle" need to shoe Cross.
Is it possiable?
Thank's for your reply. But Client requirement is in the report we need to show "checked Rectangle",It's Ok.
But When export that report into excel page the all "checked Rectangle" need to shoe Cross.
Is it possiable?
Re: How to get X instead of checkbox in Stimulsoft
Hello,
You can use the following code in the Exporting event of the report:
Thank you.
You can use the following code in the Exporting event of the report:
Code: Select all
for (int i = 0; i < this.RenderedPages.Count; i++)
{
foreach (StiComponent component in this.RenderedPages[i].GetComponents())
{
if ((component is StiCheckBox) && (component.Name == "CheckBox1"))
{
((StiCheckBox)component).CheckStyleForTrue = Stimulsoft.Report.Components.StiCheckStyle.Cross;
}
}
}