>I have a sub-class of an ASP.NET Button in which I am trying to include a public property that references a MultiView View object. However in the IDE designer properties window, when a View is selected from the IDE generated list of Views, I get an unhandled exception that "Cannot create an object of type '...View' from its string representation".
>
>Has anyone seen this type of issue and what can be done to correct it?
>
>Thanks,
>Bill
Hi Bill,
I'm not sure about this problem, but from your description it sounds to me that you try to introduce such a dependency to a button, which to me sounds like not a good OOP approach. Why would button needs to know about some view?
If it's not broken, fix it until it is.
My Blog