|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Page_LOad Event
<i><b>Originally posted by : SUmesh (ramesh_bhanu@chequemail.com)</b></i><br /><br />Hi,<br /> Can Some Body Explain when all The Page_Load Event Fires in aspx?<br /><br />I have an aspx page with a Server side Button Control.When ever i CLick on this Button, Then also The Page_Load event is getting Fired.Why is This SO<br /><br />Thanks,<br />Sumesh
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Luke (la_meyer@empowered.com)</b></i><br />I don't know why this happens, Sumesh, but it's also boned me on more than one occasion. I don't think there is any way of not firing the page load event when clicking a server button. However, when you use the Page object's IsPostBack method, you can bypass alot of unnecessary code.<br /><br />For example:<br /><br />If Not IsPostBack Then<br /> DoSomeProcedure()<br />End If<br /><br /><br /><br />------------<br />SUmesh at 7/18/2001 6:21:26 AM<br /><br /><br />Hi,<br /> Can Some Body Explain when all The Page_Load Event Fires in aspx?<br /><br />I have an aspx page with a Server side Button Control.When ever i CLick on this Button, Then also The Page_Load event is getting Fired.Why is This SO<br /><br />Thanks,<br />Sumesh
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Page_LOad Event |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|