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

Commented Unassigned: v15.1.x ValidatorCallout static images - incorrect path with ScriptManager.EnableCdn= false [27875]

$
0
0
I have found that unless the ScriptManager has EnableCdn set to true, the images used in the display of the ValidatorCallout (warning and close icons) have an incorrect path set, so both images return a 404.

While the Nuget package installs the images here in my application:
~/Content/AjaxControlToolkit/Images/ValidatorCallout.Close.gif
~/Content/AjaxControlToolkit/Images/ValidatorCallout.Alert-Large.gif

If I set the ScriptManager.EnableCdn to false, the paths actually generated are:
~/[AspxPageContentServedFromFolder]/Content/AjaxControlToolkit/Images/ValidatorCallout.Close.gif
~/[AspxPageContentServedFromFolder]/Content/AjaxControlToolkit/Images/ValidatorCallout.Alert-Large.gif

The [AspxPageContentServedFromFolder] is the folder where the ASPX page resides on disk, but in my case the URL is different, because the URL has been mapped to this ASPX page with the RouteTable.Routes.MapPageRoute() method on app startup.

Shouldn't the image URL always be absolute from the app root if being served locally?
Comments: The issue is fixed and the fix is included in the future release. Related changeset: [9862948](https://ajaxcontroltoolkit.codeplex.com/SourceControl/changeset/9862948d1e6a2f8a9ccc372b5861df7f2a4bd604)

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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