Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset a value in the property page...I hate it!
Message
De
14/09/2004 09:20:43
 
 
À
14/09/2004 00:03:22
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00941301
Message ID:
00941878
Vues:
10
BOb,

>PS: Sorry if someone already answered this but I didn't see any stars on the thread.

Not everyone bothers giving out stars. <s>

>Right, a user control is NOT a class. So, when you RESET it is resetting back to the class default value. What you want to do is create a server control, which is actually a class. This will work as you expect.

I'm not following you here at all .... a user control most certainly *is* a class ... however, since you mention server control, I'm thinking that you're referring to WebForms and not WinForms. Mike was talking about WinForms.

~~Bonnie


>>What I'd like to have happen when I reset a value in the property page is to have that value reset to the class value like in VFP's IDE. Perhaps the control should not have been a user control?
>
>Right, a user control is NOT a class. So, when you RESET it is resetting back to the class default value. What you want to do is create a server control, which is actually a class. This will work as you expect.
>
>BOb
>
>PS: Sorry if someone already answered this but I didn't see any stars on the thread.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform