Showing posts with label AfterDeserialize. Show all posts
Showing posts with label AfterDeserialize. Show all posts

Wednesday, October 5, 2011

Upgrade Web Part properties in SharePoint 2010?


SharePoint, there are two ways to upgrade the Web Part properties: AfterDeserialize override a method, and implement the user interface IversioningPersonalizable. In this article, we assume that our project is called MyWebpart, and is a feature called the Source list. Source list to save the origin of the name of the Web Part to connect to information, and its value is a string (such as SharePoint If you connect to a SharePoint list, and if you are connected to SQL for SQL Server: