2 posts, 0 answers
  1. Joseph
    Joseph avatar
    7 posts
    Member since:
    Apr 2015

    Posted 20 Aug 2015 Link to this post

    How do you set focus to the Html.Kendo().DatePickerFor in javascript?


  2. Konstantin Dikov
    Konstantin Dikov avatar
    1753 posts

    Posted 24 Aug 2015 Link to this post

    Hello Joseph,

    For focusing the DatePicker widget with JavaScript  you can get reference to the client object and use its element property, which will return the INPUT element. Once you have reference to the INPUT element you can use its focus method:
    var datepicker = $("#datepicker").data("kendoDatePicker");

    Hope this helps.

    Konstantin Dikov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET AJAX banner
Back to Top