IVersioningPersonalizable Interface
Collapse the table of content
Expand the table of content

IVersioningPersonalizable Interface


Represents an interface that can manage personalization data belonging to a previous version of a Web Parts control.

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

public interface IVersioningPersonalizable


Loads personalization data to a Web Parts control that does not have a corresponding personalized property for the data due to a version change.

When you upgrade a Web Parts control to a newer version, there might be changes to the personalizable properties on the upgraded class. For example, an upgraded version of a Web Parts control might no longer support properties that were available in previous versions. In such a scenario, the Web Parts control set might load personalization data from the underlying data store, but have no properties against which to apply this data. If a control implements the IVersioningPersonalizable interface, the Web Parts control is passed the orphaned personalization data. The application can then use this data to update properties in the newer version, or use the data in some other manner. Note that if orphaned properties are detected when importing Web Parts controls, the Load method is also called.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft