Hello Ruggero,
The reason for the observed issue is the fact that when the form is being loaded on client the focus is again returned to its subject field. What you could do in this case is to implement an event handler for the OnClientFormCreated client side event:
Note that you will have to timeout the execution of the focus function to execute it after the default focus has already been transferred to the Subject input field.
Regards,
Veselin Tsvetanov
Telerik by Progress
The reason for the observed issue is the fact that when the form is being loaded on client the focus is again returned to its subject field. What you could do in this case is to implement an event handler for the OnClientFormCreated client side event:
function
onClientFormCreated(sender, args) {
setTimeout(
function
() {
// Find the input element of the drop-down list you need to focus
var
box = $telerik.$(
'#RadScheduler1_Form_ctl37_Input'
);
box.focus();
debugger;
}, 300);
}
Note that you will have to timeout the execution of the focus function to execute it after the default focus has already been transferred to the Subject input field.
Regards,
Veselin Tsvetanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.