Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Don't add localization scripts if Ajax control toolkit isn't enabled. [27884]

$
0
0
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?

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>