Wei-Dong XU [MSFT]
Guest
|
Posted:
Tue Jan 04, 2005 12:26 pm Post subject:
RE: Control Execution Lifecycle |
|
|
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. |
|