This is a migrated thread and some comments may be shown as answers.

How to Prevent RadDatePicker auto correct date

1 Answer 139 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 27 Apr 2017, 09:44 AM

Hi Team,

We need to prevent auto correct for raddatepicker. such as client entered 04/31/2017 it is automatically changed as 05/01/2017. we dont want autocorrect. instead of we need to show warning. if i entered 04/32/2017 it is throw warning correctly. we dont want just script for fix this issue. In our application we are using more than 500 pages. we need to have the common fix. it is very urjent. Please help us ASAP.

 

Thanks,

 

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 May 2017, 08:28 AM
Hello,

You can achieve this requirement using the following property:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server">
    <DateInput runat="server" EnableSmartParsing="false"></DateInput>
</telerik:RadDatePicker>

Generally, you can try using adapters to set the default settings for a control:
http://www.telerik.com/forums/raddatepicker-remove-1-1-1980-mindate-default
http://www.telerik.com/forums/hide-row-header-of-filter-raddatepicker


I've also attached a sample web site for basic demonstration.
I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
DatePicker
Asked by
Ravi
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or