TargetControlID Property

 Rate It (0)

The TargetControlID is one of the key properties with the AJAX Control Toolkit.  Being a property defined on the control extenders, this property signifies the control that the extender extends.  It has to meet the ID of the control it wants to extend.  It's up to the extender to validate whether that control is of a valid type.

At runtime, the control provided through the TargetControlID is used to get a reference to the underlying HTML control, available on the client side in the extender with get_element().  If you do any custom AJAX control/extender development, this.get_element() returns a reference to the underlying HTML control being extended.

Revision number 1, Friday, June 27, 2008 9:41:00 PM by bmains

Comments

Pretty example should be included.

Related Articles

AJAX Control Toolkit

Learn how to extend your ASP.NET AJAX applications using the ASP.NET AJAX Control Toolkit. ASP.NET AJAX Control Toolkit: Installation and getting started is a video that starts with the basics, including downloading and installing the toolkit. Blog Posts Four

AJAX Extenders

ASP.NET AJAX can be easily extended to create almost any control you can imagine. Be sure to take a look at the ASP.NETAJAX Control Toolkit. Blog Posts ASP.NET AJAX SliderExtender Layout and Custom Appearance: Alessandro Gallo describes how to customize the

AJAX

Asynchronous JavaScript and XML - It's Ajax and it's everywhere. Start at the ASP.NET Ajax site and work from there...there's a ton of resources at your disposal! Ajax Showcase - Check out some of the great sites that been built using Ajax. Ajax

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. mbanavige (5)
  2. SGWellens (4)
  3. maartenba (2)
  4. rami_nassar (2)
  5. stiansol (2)
  6. MisterFantastic (2)
  7. satish1.v (1)
  8. raklos (1)
  9. mosessaur (1)
  10. Jos Branders (1)

Advertise Here

Microsoft Communities
Page view counter