Ask a Question related to ASP.NET General, Design and Development.
-
Paul Aspinall #1
Button causes Form_Load to fire, before Button_Click
Hi
I have a form with a button on it.
It seems that when I click the button, it causes Form_load to fire, before
the Button_Click procedure
Does anyone know why??
Thanks
Paul Aspinall Guest
-
Custom ImageButton will not Fire on button click..HELP! Thanks. :)
Hi, it is because nothing actually calls your custom OnClick method (it is the original OnClick called at... -
Button-click fire before or after page_load?
Hi - thanks for the help in this group so far. Regarding the click event of a link_button (created within a table and added to a placeholder at... -
fire button event programmatically
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a... -
Button in WebCustomControl don't fire the onclick event, why?
Maybe someone sees my mistake? The Button-OnClick-Event never fires... -------------------------------------------------------- The code from... -
FIRE
remember google is your friend. if you put "photoshop tutorial" and anything else (i.e. "photoshop tutorial fire", or "photoshop tutorial flaming... -
Duray AKAR #2
Button causes Form_Load to fire, before Button_Click
This is the firing order of events:
Page_Init
Page_Load
Button_Click
Page_PreRender
<% %> codes on the aspx page.
If you are trying to avoid calling the same code everytime
the page is posted back use :
if (!Page.IsPostBack)
{
// code to execute just on the first load
}
or
If Not Page.IsPostBack Then
' code to execute just on the first load
End If
Hope It Helps
Duray AKAR
Form_load to fire, before>-----Original Message-----
>Hi
>
>I have a form with a button on it.
>
>It seems that when I click the button, it causes>the Button_Click procedure
>
>Does anyone know why??
>
>Thanks
>
>
>.
>Duray AKAR Guest



Reply With Quote

