Creating a Custom AJAX Control Toolkit Control Extenderhttp://www.asp.netSun, 27 Feb 2011 19:03:14 GMTumbracoComments for Creating a Custom AJAX Control Toolkit Control ExtenderenComment Posted by sylvanascenthttp://www.asp.net/web-forms/overview/ajax-control-toolkit/getting-started/creating-a-custom-ajax-control-toolkit-control-extender-vbMon, 10 Jan 2011 08:40:09 GMT00000000-0000-0000-0000000011467See the C# version for some important caveats.]]>Comment Posted by royguhttp://www.asp.net/web-forms/overview/ajax-control-toolkit/getting-started/creating-a-custom-ajax-control-toolkit-control-extender-vbSun, 27 Feb 2011 19:03:14 GMT00000000-0000-0000-0000000012268This is a good example but unfortunately it contains some errors and should therefore be re-examined. The mistakes I have found are as follows: (1) Figure 04 shows MyControlExtender which wasn't generated when I tried to run copy it, this causes confusion. (2) The JavaScript file in Listing 3 is called DisabledButton.js above but must be named DisabledButtonBehavior.js in order to work. (3) The last line of Listing 3 contains AjaxControlToolkit.BehaviorBase at the end of the long line. Somehow AjaxControlToolkit isn't loaded when this is loaded (although I have the <%@ Register Assembly="AjaxControlToolkit"... %> and <asp:ToolkitScriptManager ... > on my aspx page). Replace AjaxControlToolkit.BehaviorBase with Sys.UI.Behavior and it will work.]]>