Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Object Reference Generates IDE Error
Message
 
 
To
15/07/2009 09:45:14
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Application:
Web
Miscellaneous
Thread ID:
01412480
Message ID:
01412481
Views:
37
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform