Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > custom server control event before Page_Load fired

Reply
Thread Tools

custom server control event before Page_Load fired

 
 
Michal Valent
Guest
Posts: n/a
 
      11-27-2007
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


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      11-27-2007
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)

Michal Valent wrote:
> 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
>
>

 
Reply With Quote
 
 
 
 
Michal Valent
Guest
Posts: n/a
 
      11-27-2007
Can you tell what common control is doing so ?


"bruce barker" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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)
>
> Michal Valent wrote:
>> 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
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom event from a custom web control is fired twice SammyBar ASP .Net Web Controls 1 07-21-2009 07:16 PM
Custom event from a custom web control is fired twice SammyBar ASP .Net 1 07-21-2009 07:16 PM
how to fire custom server control events before Page_Load event Michal Valent ASP .Net 2 12-05-2007 09:27 AM
Materpage page_load event fired after content page_load? rockdale ASP .Net 1 11-16-2006 06:59 PM
Know in user control page_load if an user control event is going to be fired Fabrizio ASP .Net Building Controls 5 02-24-2004 02:07 PM



Advertisments