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

Validation to DateTime column in radgrid

1 Answer 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Krish Singh
Top achievements
Rank 1
Krish Singh asked on 04 Mar 2010, 05:32 AM
Hi every one,

Is there any way to validate the

<telerik:GridDateTimeColumn UniqueName="fromDate" PickerType="DatePicker" HeaderText="From Date"
DataField="fromDate"><ItemStyle Width="80px" /></telerik:GridDateTimeColumn>
                           
<telerik:GridDateTimeColumn UniqueName="toDate" PickerType="DatePicker" HeaderText="To Date"
DataField="toDate"><ItemStyle Width="80px" /> </telerik:GridDateTimeColumn>

GridDateTimeColumn to Require Field Validation and Compare Validation.  (for example a datetime field generates error if the user enters something else).

Thanks

Krish

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 08 Mar 2010, 01:06 PM
Hi krish,

Attached is a small sample to this scenario.

I hope this helps.

Regards,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Krish Singh
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or