c# - How to detect if AxAcroPdf component has loaded PDF? -


i have axacropdf component in c#.net application loads pdf url:

pdfviewer.src = previewurl; 

when there nothing @ url component hangs. have tried adding timer checks boolean value updated after pdf loaded, axacropdf component loads url in background thread inaccessible me, approach not work.

as far can tell component not provide methods checking on progress of getting pdf url.

my final option download pdf separately, use loadfile method instead, prefer avoid doing if possible because information contained in pdf sensitive prefer not putting copy of pdf on users pcs.

any ideas?

edit: pdf generated mule service, looking @ url twice not option either puts unacceptable load on server.

your application test url timeouts/404's. if it's ok, proceed pdf code.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -