Export (0) Print
Expand All

ITrackingPersonalizable.EndLoad Method

Note: This method is new in the .NET Framework version 2.0.

Represents the phase after personalization data has been applied to a control.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

void EndLoad ()
void EndLoad ()
function EndLoad ()

The Web Parts control set calls this method after personalization data has been applied to the control. A control that tracks its change state should use this method to reset its internal state to indicate that subsequent property-setting methods should call SetPersonalizationDirty. By the time the EndLoad method is called, the Web Parts control set has completed any application of personalization data to the control. As a result, subsequent changes to the control's state should be considered valid indicators that the control has changed (is "dirty").

NoteNote

This method is also called when personalization data is applied after importing a Web Parts control.

The following code example demonstrates using the EndLoad method. For a complete, working code example that consists of a control and an .aspx page, see the IPersonalizable class overview topic.

void ITrackingPersonalizable.EndLoad()
{
    _loading = false;
    _trackingLog += "2. EndLoad\r\n";
}

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft