Document is loaded event

Hello

Is there an event that fires when a word document has finished loading....or a way to fake it out?

Thanks


2 Replies

SM Suriya Murugan Syncfusion Team March 1, 2022 10:24 AM UTC

Hi Ditchford,


Syncfusion greetings!


Document editor have DocumentChanged Event which will gets triggered once document gets loaded.


API documentation: https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.DocumentEditorContainerEvents.html#Syncfusion_Blazor_DocumentEditor_DocumentEditorContainerEvents_DocumentChanged


Code snippet:


<SfDocumentEditorContainer@ref="container"EnableToolbar=trueHeight="590px">
<DocumentEditorContainerEventsDocumentChanged="OnDocumentChanged"></DocumentEditorContainerEvents>
</SfDocumentEditorContainer>
@code{
SfDocumentEditorContainercontainer;
publicvoidOnDocumentChanged(){
//It gets triggered once document loaded
 
} 
}



Please let us know if you need any further assistance.


Regards,

Suriya M.




DI Ditchford March 1, 2022 03:28 PM UTC

Hello


Great...thanks


Loader.
Up arrow icon