I have a page that has a sub that runs a long process querying Oracle.
When the page loads I want to display a panel that has a gif of a progressbar so the user knows that they have to wait. Then I want to call the long process. What is happening is that the page is waiting to run the process before it loads. How can I avoid this?
MainPage has a button that redirects to this page
LoadStats is my long running process.
Any suggestions?
When the page loads I want to display a panel that has a gif of a progressbar so the user knows that they have to wait. Then I want to call the long process. What is happening is that the page is waiting to run the process before it loads. How can I avoid this?
MainPage has a button that redirects to this page
Code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.WaitPanel.Visible = True
LoadStats()
End Sub
LoadStats is my long running process.
Any suggestions?