Hi, Jason.
re:
!> I found whenever I click the Button control Btn1, then the Page_Load event will be called first.
That's because you're POSTing the page when you click the button.
Please review the ASP.NET Page Lifecycle ...
http://msdn2.microsoft.com/en-us/library/ms178472(VS.80).aspx
re:
!> I am wondering why in the aspx web form, whenever we click any controls, they all call the Page_Load event?
Do you have autopostback set to "true" ?
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en espaņol :
http://asp.net.do/foros/
======================================
"Jason Huang" <(E-Mail Removed)> wrote in message news:utIi$bB$(E-Mail Removed)...
> Hi,
>
> In my ASPNet 2.0 C# web application Form1.aspx, there are 1 TextBox control txtBox1, 1 Button control Btn1, and 1
> GridView control GV1.
> I found whenever I click the Button control Btn1, then the Page_Load event will be called first.
> This also applys to the situation when I check a CheckBox in the GV1.
> I am wondering why in the aspx web form, whenever we click any controls, they all call the Page_Load event?
> Thanks for help.
>
>
> Jason
>