Need Event of before Document is loaded

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
SMOsama
Posts: 18
Joined: Tue Aug 10, 2021 8:17 pm

Need Event of before Document is loaded

Post by SMOsama » Fri Aug 20, 2021 1:14 pm

We have a function of RegisterOnNewDocumentLoaded but I need function of BeforeDocumentLoaded. Kindly help me how can I get this?

User avatar
Fabio
Posts: 173
Joined: Thu Aug 27, 2020 9:57 am

Re: Need Event of before Document is loaded

Post by Fabio » Fri Aug 20, 2021 3:43 pm

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

SMOsama
Posts: 18
Joined: Tue Aug 10, 2021 8:17 pm

Re: Need Event of before Document is loaded

Post by SMOsama » Fri Aug 20, 2021 4:06 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest