This is a migrated thread and some comments may be shown as answers.

Checkbox Values

2 Answers 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 02 Oct 2012, 04:52 PM
This sounds so simple, but being relatively new to all this I don't see what I'm doing wrong.

I have several checkboxes on a cover page of my report.  I have the checks appearing just fine, but when I set the FalseValue property, and try and run, I get a big red box of error where the checkbox should be saying: An error has occurred while processing CheckBox 'chkPriorAppr': Invalid image data.
----------------Inner Exception--------------------
Invalid image data
----------------Inner Exception-------------------
Access to the path 'C:\Projects\.......  is denied

All I want to do is remove the showing InderterminateImage when the value is N, and instead show the UnCheckedImage.  The checks show fine btw.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Oct 2012, 03:33 PM
Hello Rich,

It is not clear from your post whether you have tried to set custom images for the checkbox states. The invalid image data and access denied errors indicate that the checkbox cannot find an image you have set to one of its relevant properties. What application are you using and how did you set the images if you have changed them? Please verify those images can be accessed through the path you have specified, if they are comming from expression, make sure the image contained in the database column is valid.

Greetings,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Rich
Top achievements
Rank 1
answered on 08 Oct 2012, 12:44 PM
I've solved this problem.

I ended up having to delete the checkbox, then re-add it.  Once I did that it used the default boxes and it looks fine.

Rich
Tags
General Discussions
Asked by
Rich
Top achievements
Rank 1
Answers by
Steve
Telerik team
Rich
Top achievements
Rank 1
Share this question
or