Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a sub-classed control
Message
From
06/09/2002 11:06:41
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Creating a sub-classed control
Miscellaneous
Thread ID:
00697547
Message ID:
00697547
Views:
52
Hi, all...

I'm trying to sub-class a command button in C#...the command button will always have a specific caption ('ALL'), and a bitmap with a small picture of a checkbox. (Basically, it's a generic 'select all' button used to check all entries in a checked listbox that it's associated with).

No matter what text I specify in the class when I define the control, the text always appears at runtime as the 'name' of the control. I just can't seem to define a simple text/caption for the button and then have that appear at runtime.

Am I missing something?
Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform