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: If I get it right, you have an AJAX Control Toolkit control on a page and its "Enabled" property is set to false. This causes a Javascript error, because the ExtenderControlBase.RegisterLocalization method is called, which initiates the Sys.Extended.UI.Localization.SetLocale("<localeKey>") rendering. What AJAX Control Toolkit controls do you have on this page?
__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: If I get it right, you have an AJAX Control Toolkit control on a page and its "Enabled" property is set to false. This causes a Javascript error, because the ExtenderControlBase.RegisterLocalization method is called, which initiates the Sys.Extended.UI.Localization.SetLocale("<localeKey>") rendering. What AJAX Control Toolkit controls do you have on this page?