Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property value is not valid
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01468303
Message ID:
01468322
Views:
39
>Hi All,
>I have a custom component that tracks the last n number of enquiries on a form ( stores customer numbers ) . In the class I have a public property called MaxCusts which is of type int. The problem I have is, if I try to set the property using the property sheet at design time, I receive the error "Property value is not valid" and have to cancel the action. I've googled and can't find anything of any help.

Odd. What value does it have when you first open the property sheet ? Any code in the setter that might cause a problem? As a test does it work with a nullable int ? Any DefaultAttribute set for the value ? Can you post a stripped-down component that will repro?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform