Creating Custom ASP.NET AJAX Client Controls—Two ways to extend existing controls client capabilities
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
[edit]
Two ways to extend existing controls client capabilities
Actually, there are two ways to extend client capabilities of existing Web server controls:
- 1. The first one is to build an extender control and encapsulate client behaviors on it using ASP.NET AJAX Extension; this is similar to the exiting control extenders available in ASP.NET AJAX Toolkit. The extender control is then associated with one or more types of ASP.NET controls to add the behavior to those server controls. You can associate more than one extender control with a server control.
- 2. The second way is to extend and existing web server control and encapsulate client behaviors on it. Using this way your behaviors are only applied to this control, and cannot be attached to another control. In many cases this scenario is needed and should be applied. This is what we are going to explore next.
|

