Hi
Is there a way to change the image of the UnboundCheckBoxField in the WebDataGrid?
Thanks in advance.
Florian
Hello Florian,Please let me know your progress with this issue. Did you try David's suggestion?
I just tried your uncheckedImageUrl and I got the grid to display the image you're interested. Do you have the latest Service Release installed? Maybe you could try using just "add_up.gif". That also seems to work for me.
regards,David Young
<Columns>
<ig:UnboundCheckBoxField Width="30px"
Key="RowSelected" HeaderChecked="False">
<CheckBox CheckedImageUrl="~/ig_res/Default/images/addnewrow_image.gif"
UncheckedImageUrl="~/ig_res/Default/images/add_up.gif" />
</ig:UnboundCheckBoxField>
So I would guess that I would see the images I picked. I do not. Is this a defect?
I just posted this in the webgrid forum. Any suggestions?
Hello Florian,Please let me know if you have any further questions regarding the issue. Was David's suggestion helpfull to you?
Hi Florian,
There is a property on the UnboundCheckBoxField (and BoundCheckBoxField) called CheckBox. It is a GridCheckBox that has three settable properties for the checked, unchecked, and partial image urls. Simply set them to the path of the custom image that you want to use.