I don't know if I'm asking the question correctly so apologies if I am using the wrong terminology. I typically write my own servers, javascript, etc in vi. I've been given a project to enhance a VB.Net / ASP.Net application and I'm having some troubles figuring out how to get the user control to render BEFORE the page finishes loading.
When I use normal browser as the viewer, everything works OK. When I try to use generate the page as a report, the report generator spits out the PDF while my JavaScript graph drawing stuff is still in it's initialize functions.
They are using EvoPDF as the PDF generator. It appears the page is being considered complete after the page is loaded but before the javascript is executed.
I admit I'm a bit lost when it comes to ASP.NET, but I know HTML/HTTP/JavaScript very well.
How can I force the page load to wait until my usercontrol finishes rendering, or otherwise solve my problem?
Thank you