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

RadDatePicker Q4 2006 loses focus

1 Answer 23 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 17 Jul 2012, 05:27 AM
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.

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 19 Jul 2012, 06:00 AM
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.
Tags
Calendar
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or