@Plamen, thans for your reply, however the link you direct me on is using Date Picker only, which has never been an issue for me.
I work with the Telerik objects since two years now, and I found that sometimes objects didn't react as expected. Most of the time I had to start to play with the object on a blank page and voila! it works on my original page. It has to do with versionning I guess, since I work in an environment where two to 5 developpers are working on the same project and someone update an object. We are using Source Safe for the past 12 years and honestly I start to dislike it. Anyhow here is the code I finally came with, pretty straight forward.
<rad:RadDateTimePicker ID="rdDateTimeOccurrence" runat="server" Skin="Default" Width="175"></rad:RadDateTimePicker> |
<rad:RadDateTimePicker ID="rdDateTimeDiscovery" runat="server" Skin="Default"></rad:RadDateTimePicker> |
<rad:RadDateTimePicker ID="rdDateTimeStopped" runat="server" Skin="Default"></rad:RadDateTimePicker> |
<rad:RadDateTimePicker ID="rdDateTimeCleanedUp" runat="server" Skin="Default"></rad:RadDateTimePicker> |
|
<asp:RequiredFieldValidator ID="valDateTimeOccurrence" runat="server" ControlToValidate="rdDateTimeOccurrence" Display="None" ErrorMessage="Error Message"></asp:RequiredFieldValidator> |
<asp:RequiredFieldValidator ID="valDateTimeDiscovery" runat="server" ControlToValidate="rdDateTimeDiscovery" Display="None" ErrorMessage="Error Message"></asp:RequiredFieldValidator> |
<asp:CompareValidator ID="valDateTimeOccurrenceDiscovery" runat="server" ControlToCompare="rdDateTimeOccurrence" ControlToValidate="rdDateTimeDiscovery" Operator="GreaterThanEqual" Display="None" ErrorMessage="Error Message"></asp:CompareValidator> |
<asp:RequiredFieldValidator ID="valDateTimeStopped" runat="server" ControlToValidate="rdDateTimeStopped" Display="None" ErrorMessage="Error Message"></asp:RequiredFieldValidator> |
<asp:CompareValidator ID="valDateTimeDiscoveryStopped" runat="server" ControlToCompare="rdDateTimeDiscovery" ControlToValidate="rdDateTimeStopped" Operator="GreaterThanEqual" Display="None" ErrorMessage="Error Message"></asp:CompareValidator> |
<asp:RequiredFieldValidator ID="valDateTimeCleanedUp" runat="server" ControlToValidate="rdDateTimeCleanedUp" Display="None" ErrorMessage="Error Message"></asp:RequiredFieldValidator> |
<asp:CompareValidator ID="valDateTimeStoppedCleanedUp" runat="server" ControlToCompare="rdDateTimeStopped" ControlToValidate="rdDateTimeCleanedUp" Operator="GreaterThanEqual" Display="None" ErrorMessage="Error Message"></asp:CompareValidator> |
<asp:RequiredFieldValidator ID="valReportedby" runat="server" ErrorMessage="Error Message" ControlToValidate="txtReportedby" Display="None"></asp:RequiredFieldValidator> |
<asp:RequiredFieldValidator ID="valPhoneNumber" runat="server" ErrorMessage="Error Message" ControlToValidate="txtPhoneNumber" Display="None"></asp:RequiredFieldValidator> |
Each Date/Time entry is required and the following Date/Time is compare to the previous Date/Time. It works like a charm now :) This is with Version 2.2.5.