Friday, September 2, 2016

Issue:  failed to load. Check for:  Inaccessible path.  Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.  Missing call to Sys.Application.notifyScriptLoaded().

The above issue was happening when the web page is browsed in chrome. While checking chrome compatibility of the application this issue was happening. To fix add the web kit.

Fix :

Create a new file called webkit.js . Add following script to it.

Sys.Browser.WebKit = {}; //Safari 3 is considered WebKit
if( navigator.userAgent.indexOf( 'WebKit/' ) > -1 )
{
  Sys.Browser.agent = Sys.Browser.WebKit;
  Sys.Browser.version = parseFloat( navigator.userAgent.match(/WebKit\/(\d+(\.\d+)?)/)[1]);
  Sys.Browser.name = 'WebKit';
}

Reference this webkit.js from your ScriptManager

    <Scripts>
        <asp:ScriptReference Path="~/js/webkit.js" />
    </Scripts>

This will fix infragistic control not loading issue.

Reference : http://blog.lavablast.com/post/2008/10/20/Gotcha-WebKit-(Safari-3-and-Google-Chrome)-Bug-with-ASPNET-AJAX.aspx