In __ExtenderControlBase.cs : 281__
__RegisterLocalization()__ is called also if AjaxControl Toolkit isn't used on the current page.
This will result in an Javascript error:
"Uncaught TypeError: Cannot read property 'UI' of undefined"
Comments: Unfortunately, I cannot reproduce this error based on the information you provided. Extender's scripts keep rendering even when the Enabled property is set to false, because it is visible and OnPreRender has no reason not to be called. Opening a page without any extender on it while having AJAX Control Toolkit registered in Web.config does not produce any error either, because no extender can cause the OnPreRender call. Would you please provide a simple sample project that illustrates this problem?
__RegisterLocalization()__ is called also if AjaxControl Toolkit isn't used on the current page.
This will result in an Javascript error:
"Uncaught TypeError: Cannot read property 'UI' of undefined"
Comments: Unfortunately, I cannot reproduce this error based on the information you provided. Extender's scripts keep rendering even when the Enabled property is set to false, because it is visible and OnPreRender has no reason not to be called. Opening a page without any extender on it while having AJAX Control Toolkit registered in Web.config does not produce any error either, because no extender can cause the OnPreRender call. Would you please provide a simple sample project that illustrates this problem?