Click to See Complete Forum and Search --> : Modal form page loading


harevik85
03-12-2009, 01:15 AM
I am using the JavaScript “showModalDialog('/ModalForm.aspx','','')” function where in the ModalForm.aspx Page_Load I have the following: System.Threading.Thread.Sleep(10000)
The issue is that the page is not displayed until it hasn’t gone out from the Page_Load Sub. How can I do so that the page displays during load, and also it would be better if I could have an animation during loading process (something like “The page is loading”)?

Thanks in advance

Kuriyama
03-13-2009, 09:59 AM
Ask this question in the .NET forum. This is only ASP classic/vbscript.