Hi all,
I am using Rad Date Ticker and Rad Time Picker for entering date range. For 2 Rad Date Picker i used one compare validator and also use one compare validator for 2 Rad Time Picker. If i chnage any startime i got error from compare validator even if endtime is greater than starttime. For date comparison i added type as date in compare validator. But how can i configure for radtime picker?
But if i change or just select end time again error is cleared.
I am using Rad Date Ticker and Rad Time Picker for entering date range. For 2 Rad Date Picker i used one compare validator and also use one compare validator for 2 Rad Time Picker. If i chnage any startime i got error from compare validator even if endtime is greater than starttime. For date comparison i added type as date in compare validator. But how can i configure for radtime picker?
But if i change or just select end time again error is cleared.
<telerik:RadTimePicker ID="radstarttime" runat="server" Width="225px" > <TimeView CellSpacing="-1" Columns="6" Interval="00:30:00" ></TimeView> </telerik:RadTimePicker> <asp:RequiredFieldValidator ID="rfvStartTime" Display="Dynamic" ValidationGroup="EditValidation" SetFocusOnError="true" runat="server" ControlToValidate="radstarttime" ErrorMessage="Start Time is Mandatory!!!" Text="*" ForeColor="Red"> </asp:RequiredFieldValidator> <telerik:RadTimePicker ID="radendtime" runat="server" Width="225px"> <TimeView CellSpacing="-1" Columns="6" Interval="00:30:00"></TimeView> </telerik:RadTimePicker> <asp:RequiredFieldValidator ID="rfvEndTime" Display="Dynamic" ValidationGroup="EditValidation" SetFocusOnError="true" runat="server" ControlToValidate="radendtime" ErrorMessage="End Time is Mandatory!!!" Text="*" ForeColor="Red"> </asp:RequiredFieldValidator> <asp:CompareValidator ID="crvEndTime" runat="server" ControlToCompare ="radstarttime" ControlToValidate ="radendtime" Operator ="GreaterThanEqual" ErrorMessage ="End Time Must be Greater than Start Time" > </asp:CompareValidator>