Hi,
In Rad grid Control, there are 2 TemplateColums (Start time and end time) and it has two RadTimePicker control for EditItemTemplate .im using the master page as well.
I want to validate that end time value is greater than the start time .
How to use Compare Validator?
Can you plz tell me the way of doing this.because this is ugent.
<telerik:GridTemplateColumn HeaderText="Starttime" UniqueName="Starttime" > |
<EditItemTemplate> |
<telerik:RadTimePicker ID="rtpStartTime" runat="server"> |
</telerik:RadTimePicker> |
</EditItemTemplate> |
<ItemTemplate> |
<asp:Label ID="lblStarttime" runat="server" Text='<%# Eval("StartTime","{0:t}") %>'></asp:Label> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridTemplateColumn HeaderText="End time" UniqueName="EndTime"> |
<EditItemTemplate> |
<telerik:RadTimePicker ID="rtpEndTime" runat="server" |
</telerik:RadTimePicker> |
</EditItemTemplate> |
<ItemTemplate> |
<asp:Label ID="lblEndTime" runat="server" Text='<%# Eval("EndTime", "{0:t}") %>'></asp:Label> |
</ItemTemplate> |
Thanks
Waruni