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: exactly. So i have found following, maybe this causes the problem. We have registered AjaxControlToolkit in web.conf for every page, but on some pages we don't use any control of it directly. <pages> <controls> <add tagPrefix="spring" namespace="Spring.Web.UI.Controls" assembly="Spring.Web" /> <add tagPrefix="AjaxControlToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" /> </controls> </pages>

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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