Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset a value in the property page...I hate it!
Message
From
14/09/2004 09:20:43
 
 
To
14/09/2004 00:03:22
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00941301
Message ID:
00941878
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform