Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property value is not valid
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01468303
Message ID:
01468322
Vues:
40
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform