custom server control event before Page_Load fired

M

Michal Valent

Hello,
I have noticed,
that some custom server controls are able fire its own events e.g.
someGrid_PageIndexChanged
before the Page_load event.

Can anybody explain how is it possible ?

According to the Microsoft .. Page Life Cycle articles,
Page events follows the order :
..
..
..
Page_Init
Page_Load
Control events (like Button_Click, someGrid_PageIndexChanged, ...)
..
..
..

thanks
mike
 
B

bruce barker

events that are triggered by data changes will fire when postback data
is applied to a control. this happens between oninit and onload.

-- bruce (sqlwork.com)
 
M

Michal Valent

Can you tell what common control is doing so ?


bruce barker said:
events that are triggered by data changes will fire when postback data is
applied to a control. this happens between oninit and onload.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top