Page 1 of 1
Need Event of before Document is loaded
Posted: Fri Aug 20, 2021 1:14 pm
by SMOsama
We have a function of RegisterOnNewDocumentLoaded but I need function of BeforeDocumentLoaded. Kindly help me how can I get this?
Re: Need Event of before Document is loaded
Posted: Fri Aug 20, 2021 3:43 pm
by Fabio
Hello there,
If you want to catch the event before a document is loaded, you'll need to disable the EnableFileUploadButton property, create a new custom button on the top bar, and implement the javascript method to do your stuff and open the document.
Here is the documentation:
- EnableFileUploadButton:
https://www.docuvieware.com/guides/aspn ... utton.html
- Create a custom top bar button:
https://www.docuvieware.com/guides/aspn ... utton.html
- Open a document by URI:
https://www.docuvieware.com/guides/aspn ... omUri.html
- Open a document from the user's machine:
https://www.docuvieware.com/guides/aspn ... mFile.html
With best,
Fabio
Re: Need Event of before Document is loaded
Posted: Fri Aug 20, 2021 4:06 pm
by SMOsama
Hi,
Thank you for reply. I will try it or change my logic. If any thing more required then I will mention. Thanks once again.