Hi,
Thanks for some great products!
I am using the new RadEditor in a ModalPopupExtender, but when I attempt to setFocus in the javascript method attached to the button that shows the editor the focus is on the toolbar and not the Content.
Is there a way I can do this? I expect it has something to do with the order of code, but I don't know how to fix this.
Regards,
Mark Thomas.
Thanks for some great products!
I am using the new RadEditor in a ModalPopupExtender, but when I attempt to setFocus in the javascript method attached to the button that shows the editor the focus is on the toolbar and not the Content.
function edit( _controlID ) |
{ |
controlID = _controlID; |
var newVal = $get("ctl00_MainContent_txt" + controlID).innerHTML; |
var editor = $find("ctl00_MainContent_RadEditor1"); |
editor.set_Html(newVal); |
editor.setFocus(); |
} |
Is there a way I can do this? I expect it has something to do with the order of code, but I don't know how to fix this.
Regards,
Mark Thomas.