I have created a custom control which is doing exactly as it should, but for some reason is showing an exception in designmode.
Error rendering control - MyControl
An unhandled exception has occured.
TagPrefix:MyControl could not be set on property 'MyProperty'.
This grey block only appears in DesignMode when using the custom control. All works fine at run time.
The grey block appears when modifying a property of type "List Of" in the property window. But again it does not cripple anything at run time.
I would like to 'handle' this exception, but where is it being generated. I assumed it would be on the render sub of the control, but my attempts have failed. Any insight would be appreciated.