RadDatePicker Q4 2006 loses focus

2 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    1 posts
    Member since:
    Jul 2012

    Posted 17 Jul 2012 Link to this post

    Hello,

    I have added raddatepicker Q4 2006 control on a asp.net web page and set focus on it like raddatepicker1.Focus() in page load event handler. The moment this page is loaded and shown on browser, this control loses focus.

    Please tell me how to retain focus on this control when page is loaded.
  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 19 Jul 2012 Link to this post

    Hello,

    We no longer support this old version. However you can try to register some JavaScript that to focus the control for you after the page loads. Examine the output HTML to see what is the ID of the input element of the Picker, then in your custom script use document.getElementById to find this element and focus it using .focus();

    Greetings,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top