Pardon the cumbersome title, but I wanted to make it as descriptive as possible! Anyway, I stumbled upon this bug and spent a good while trying to figure out what was wrong. I'm developing a WebPart for use in MOSS 2007. The WebPart in question is mostly
unremarkable, but I was getting the following error when editing the WebPart properties:
"Some of the properties for this Web Part cannot be displayed properly. For more information, see your site administrator."
I've searched Google, Bing and Yahoo for this error and have found nothing, so hopefully this post will be of use to anyone else who searches for it.
Turns out the problem was in the enumerator definition. It looked like this:
public enum KPIPalette
Grey = 1,
The colour palettes of the components we're using started at 1, so I set the enumerator to do that also. SharePoint, however, had other ideas.
The solution is to leave enumerator definitions out. When the number was required later in code, a 1 was added. Error begone, problem solved!
View Complete Post