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


    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
    Vasil avatar
    1541 posts

    Posted 19 Jul 2012 Link to this post


    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();

    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. DevCraft R3 2016 release webinar banner
Back to Top