Control Execution Lifecycle
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Control Execution Lifecycle

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
BentleyInc
Guest





Posted: Mon Jan 03, 2005 9:17 pm    Post subject: Control Execution Lifecycle Reply with quote

There is excellent documentation on the Server Control Execution Lifecycle
that descibes what events, methods are called in what order

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcontrolexecutionlifecycle.asp

Where would the Web Part connections methods fit into this.

CellProviderInit
CellReady
CellConsumerInit

ParametersInConsumerInit
NoParametersIn
ParametersInReady


Thanks
Marcus Kellermann
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Tue Jan 04, 2005 12:26 pm    Post subject: RE: Control Execution Lifecycle Reply with quote

Hi Marcus,

From the SDK, generally speaking, these events should be raised during the
PreRender event of ASP.net. This is decided by the web part infrastructure.

For the ParametersInReady Event, it "occurs when the parameter list is
ready to be sent to the consumer Web Part. On the client computer, it can
occur at any time; however, it is typically raised when a parameter is
updated or selected. " (from the sdk 'ParametersInReady Event')

Moreover, for the web part which implements the IParametersInProvider
event, it should raise either the ParametersInReady or the NoParametersIn
event.

So from my view, if you are going to know the precise sequence of the
events, it should be decided by your scenario. You can add one string
member variable in your class and append one string, indicating the
perticular event raised, to the variable at the method which raised the
event. Then print it in the client web page; you will be very clear about
the precise sequence.

Please feel free to let me know if you have any further question.

Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB