After i submit my form has validatecontrol, the CKEditor is destroyed (hidden). how i can re-show CKEditor after it hide?
Comments: ** Comment from web user: thienvc **
Comments: ** Comment from web user: thienvc **
Temp im must fix on client-side by this code
Call setTimeout onClick lbtSave, if CKE destoyed then re-load it.
setTimeout(function(){
//ko có _busyRequest sẽ gây conflic CKE
if(_busyRequest) return;
console.log('click Save delay 100');
if(CKEDITOR && CKEDITOR.instances
&& typeof(CKEDITOR.instances.<%=txtContent.ClientID%>_txtContent)== 'undefined'
&& typeof(LoadCKEditorInstance_<%=txtContent.ClientID%>_txtContent)!= 'undefined')
{
console.log('reloadCKE');
LoadCKEditorInstance_<%=txtContent.ClientID%>_txtContent();
}
}, 100);