Hello,
I've created 2 custom WebParts:
-The firstis an abstract class based on the WebPart in Microsoft.Sharepoint.WebPartPages.
-The second is a sub class which implements the first.
-Both contain a public property called "UniqueKey". The property in the second WebPart hides the underlying property using the "new" modifier.
This property is for use in WebPart connections and I don't reallywantSharepoint use it in the Toolpart etc. so I tried setting [Browsable(false), WebPartStorage(Storage.None) in both the sub class and the parent class. My problem is that whenever I try and add the WebPart to the page I get the error:
One of the properties has an incorrect format. Windows Sharepoint Services cannot deserialize the web part. Check the format of the properties and try again.
I've tried fiddling around with the attributes on the property but whatever I change doesn't seem to make a difference.
Can anyone help?
Thanks very much