Hi i am currently developing a page that generates a pdf file. my problem is when i call the page that generates the file it should have a default text and image that says "generating file... please wait..."
but the problem is the controls and even the texts are not displaying until the function that generates the pdf is done... how can i make my page display all the texts and images before executing the function? and i also need the function that generates the pdf file triggered upon entering the said page.
help please....
Loading
doc opulenciaPosted Dec 8, 2007, 3:00 AM
System.Threading.ThreadStart entry =
new System.Threading.ThreadStart(GenFile);
System.Threading.Thread thrd =
new System.Threading.Thread(entry);
thrd = new System.Threading.Thread(entry);
thrd.Start();
Now my page is displaying the texts and the images...
My only problem now is that i need to close this page after all the file is created or after the loop ends.
i am using self.close to close the page... by the way my page is a popup window