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

[Solved] Check GridBinaryColumn is not null

1 Answer 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 2
Darren asked on 15 Oct 2009, 01:48 PM
Hi there,

I have a Radgrid and in it I've got a GridBinaryImageColumn.

                <telerik:GridBinaryImageColumn DataField="Logo" HeaderText="Logo" UniqueName="Logo" 
                    ImageHeight="80px" ImageWidth="120px" ResizeMode="Fit" DataAlternateTextField="AgencyName" 
                    DataAlternateTextFormatString="Logo of {0}"
                    <HeaderStyle Width="10%" /> 
                </telerik:GridBinaryImageColumn> 

When I insert a new record I would like to check and make sure the user has selected an image to upload.
How can I do this?

Thanks,
Darren

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 15 Oct 2009, 02:45 PM
You could implement validation in the Grid to ensure that they cannot insert an entry without having uploaded an image. For more information check out this demo.
Tags
Grid
Asked by
Darren
Top achievements
Rank 2
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or