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
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.