Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Net Web Control
Message
From
01/12/2008 10:01:42
John Baird
Coatesville, Pennsylvania, United States
 
 
To
30/11/2008 20:20:20
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01364759
Message ID:
01364830
Views:
14
>Dear all,
>
>Currently I am having an large web app with many forms using the .Net General control for example, ASP Button control. I need to able to add some code to the click event of the button controls on all the forms in my web app means i would like to create a control which will inherit the original control and apply to all my forms which using orriginal control.
>
>May I know how can be accomplish this easily in .NET or in MM.NET other than find and replace?


This is exactly the reason why you should create a subclass of each base control and use your own subclass in your programs. That way you insulate yourself from changes to the base controls when upgrading and you can easily add functionality.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform