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

disable autocomplete option

1 Answer 83 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
beeta one
Top achievements
Rank 1
beeta one asked on 28 Nov 2012, 11:48 AM
How can i disable autocomplete option in raddatepicker? 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 Nov 2012, 12:12 PM
Hi,

Try the following code snippet to achieve your scenario.

JS:
<script type="text/javascript">
Telerik.Web.UI.RadDateInput.prototype.parseDate = function (value, baseDate)
{
   if (new Date(value) != "NaN")
   return new Date(value);
   this.set_textBoxValue(value);
}
</script>

Hope this helps.

Regards,
Shinu.
Tags
Calendar
Asked by
beeta one
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or