Hi,
You will need to delay the call with setTimeout:
Code: JavaScript
setTimeout(function()
{
.....whatever you were doing....
}, 100);
You can not focus the textbox inside ClientSideBeginEdit because at that moment the textbox is not being displayed yet. However if you use setTimeout to display that, then by the time your code is called, the textbox is already displayed.
Thanks!