Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Error: Unable to get property 'UI' of undefined or null reference

$
0
0

Why am I getting the above error with Ajaxtoolkit 4.0 on IE browser? I'm just trying to used a simple "AsyncFileUpload" and IE is giving me this error.  I've try all the compatability mode, IE7,8,9,10 and still getting the error. I've also try <meta http-equiv="X-UA-Compatible" content="IE=8"/> and still no luck.

This is the script in debug mode:

<script type="text/javascript">
//<![CDATA[
Sys.Application.add_init(function() {
    $create(Sys.Extended.UI.AsyncFileUpload, {"clientStateField":$get("MainContent_AsyncFileUpload1_ClientState"),"completeBackColor":"White","errorBackColor":"Red","formName":"ctl01","hiddenField":$get("MainContent_AsyncFileUpload1_ctl00"),"inputFile":$get("ctl00_MainContent_AsyncFileUpload1_ctl02"),"postBackUrl":"/Power Users/Uploading.aspx","throbber":$get("MainContent_Throbber"),"uploadingBackColor":"Black"}, {"uploadComplete":UploadComplete,"uploadError":uploadError,"uploadStarted":StartUpload}, null, $get("MainContent_AsyncFileUpload1"));
});
//]]></script>

Appreciate any help I can get.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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