Hi,
i have the following in a RadGrid:
The issue is that when i try to bind to the editItemTemplate i get exception about the mindate. What i would like is that if a date is less than the mindate of the control then set the value to null or empty.
Can anyone tell/show me how to handle bind exceptions?
i have the following in a RadGrid:
<telerik:GridTemplateColumn HeaderText="Duration" UniqueName="Duration"> |
<ItemTemplate> |
<asp:Label runat="server" ID="lblConferredDate" Text='<%# Eval("ConferredDate") %>'></asp:Label> |
</ItemTemplate> |
<EditItemTemplate> |
<telerik:RadDatePicker ID="rdpConferredDate" runat="server" DateInput-EmptyMessage="No Date" DbSelectedDate='<%# Bind("ConferredDate") %>'> |
</telerik:RadDatePicker > |
</EditItemTemplate> |
</telerik:GridTemplateColumn> |
The issue is that when i try to bind to the editItemTemplate i get exception about the mindate. What i would like is that if a date is less than the mindate of the control then set the value to null or empty.
Can anyone tell/show me how to handle bind exceptions?