Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to subclass control?
Message
From
12/01/2007 09:47:28
 
 
To
12/01/2007 01:52:50
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01184867
Message ID:
01185001
Views:
31
>Should I use classlibrary or component to subclass?

As I said in my reply: "... you'll want a class library ..."

>How to add functionality if clicked event fired?

To implement additional event processing, override the "On" methods in your sub-classes. So, for a click, you'd do:
protected override void OnClick(EventArgs e)
{
	base.OnClick(e);
}
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform