A custom web part has custom web part properties. I would like to validate with custom server side code when user changes property value (or when properties are bing saved). Is that possible? Can I show an error message in the tool pane describing the problem that occurred?
Example: I have a web part where user needs to enter a list name (in a property). I would like to check if list with such a name exists.