how to use Pageload events.

Posted by Jayakumars under ASP.NET on 2/14/2012 | Points: 10 | Views : 1926 | Status : [Member] [MVP] | Replies : 1
hi

How to Fire Pageload event for this situation.
here i refer this url
http://ajax.net-tutorials.com/controls/updateprogress-control/

but here when we will click update fire progress event i need fire this
thread page load event i put like this but not firing how will do this

This Code not working why?

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
System.Threading.Thread.Sleep(4000)
End Sub

Mark as Answer if its helpful to you


Responses

Posted by: Sksamantaray on: 2/14/2012 [Member] Silver | Points: 25

Up
0
Down

Hi,
I tried putting
System.Threading.Thread.Sleep(4000)
in both button_click and Page_Load , both the codes are working.
Can you attach your code so that i can try.

Thanks,
Sanjay

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response