7 Answers, 1 is accepted
You can try setting the following property to achieve this requirement:
<
telerik:RadDatePicker
ID
=
"RadDatePicker1"
runat
=
"server"
>
<
DateInput
runat
=
"server"
EnableSmartParsing
=
"false"
>
</
DateInput
>
</
telerik:RadDatePicker
>
Hope this helps.
Regards,
Eyup
Telerik
Hi Eyup,
Sorry it's been so long, I was on another project.
This did not solve my issue. Below is the source for one of the datepicker controls:
<
telerik:RadDatePicker
ID
=
"rdpBegin"
Runat
=
"server"
Culture
=
"en-US"
ResolvedRenderMode
=
"Classic"
>
<
Calendar
EnableWeekends
=
"True"
FastNavigationNextText
=
"<<"
UseColumnHeadersAsSelectors
=
"False"
UseRowHeadersAsSelectors
=
"False"
>
<
ClientEvents
OnDateSelected
=
"dateSelected"
/>
</
Calendar
>
<
DateInput
ID
=
"DateInput1"
runat
=
"server"
EnableSmartParsing
=
"false"
>
<
ClientEvents
OnError
=
"HandleError"
/>
<
EmptyMessageStyle
Resize
=
"None"
/>
<
ReadOnlyStyle
Resize
=
"None"
/>
<
FocusedStyle
Resize
=
"None"
/>
<
DisabledStyle
Resize
=
"None"
/>
<
InvalidStyle
Resize
=
"None"
/>
<
HoveredStyle
Resize
=
"None"
/>
<
EnabledStyle
Resize
=
"None"
/>
</
DateInput
>
<
DatePopupButton
HoverImageUrl
=
""
ImageUrl
=
""
/>
</
telerik:RadDatePicker
>
I have tested the provided code in a sample application on my end and it works correctly without modifying the entered date as per your requirements. Please make sure that you are using the latest version of the controls where the mentioned property is implemented.
Regards,
Maria Ilieva
Telerik
Hi.
i've got the same problem. I tried the EnableSmartParsing="false" option but after setting the smart parsing to false i can't input any date, even valid ones. I added my html code below how i configured the datepicker.
Best regards
Martin Horst
<telerik:RadDatePicker ID="datePickerGeburtsDatum" runat="server" RenderMode="Classic" MinDate="01.01.0001">
<DateInput runat="server" DateFormat="dd.MM.yyyy" DisplayDateFormat="dd.MM.yyyy" EnableSmartParsing="false"></DateInput>
<DatePopupButton ImageUrl="/web/images/icons/datepicker_normal.png" HoverImageUrl="/web/images/icons/datepicker_hover.png"/>
</telerik:RadDatePicker>
I tried to replicate the issue you described on my end but to no avail, Re "EnableSmartParsing" property is working properly in my test application. See the test pages attached and verify what the difference in your case is.
Regards,
Maria Ilieva
Telerik
Hello,
today I installed the latest version (Q1 2016) but I still got the same issue. Every date I enter or select is marked as invalid.
Regards
Martin Horst
I tested the described scenario and it works properly on my end. Find attached my test project and verify what the difference in your case is.
Regards,
Maria Ilieva
Telerik