Hi Ken,
The demo page does indeed work in IE9. I do see a difference between my code and yours that I can't explain; perhaps you can shed some light.
Here is what IE's Developer Tools is showing as the onload attribute for the <img> tag that gets rendered in your demo page version of AjaxUploader:
onload="this.style.display="none" ;
if(!window.CuteWebUI_AjaxUploader_Initialize){var xh=window.XMLHttpRequest?new
XMLHttpRequest():new ActiveXObject('Microsoft.XMLHttp');xh.open('GET','/CuteWebUI_Uploader_Resource.axd?type=script&_ver=634982217233730498',false);xh.send('');eval(xh.responseText)}CuteWebUI_AjaxUploader_Initialize(this.id);"
And here is what Developer Tools is showing as the onload attribute on my page:
onload="this.style.display="none" ; if(!window.CuteWebUI_AjaxUploader_Initialize){var xh=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('Microsoft.XMLHttp');xh.open('GET','/CuteWebUI.AjaxUploader.ashx?type=script&_ver=635007824293053823',false);xh.send('');eval(xh.responseText)}CuteWebUI_AjaxUploader_Initialize(this.id);"
Here is my code:
<asp:UpdatePanel runat="server"
id="UpdatePanel1"
>
<ContentTemplate>
<uc1:UploadableFile runat="server" ID="ufAvatar" UploadArea="Avatars" ClientOnFileUploaded="uiAvatar_FileUploaded" UploadButtonText="Upload..."
/>
<div style="padding-left: 3px; padding-top: 4px">
<asp:Label runat="server" ID="lblUploadedFileName"></asp:Label>
</div>
</ContentTemplate>
</asp:UpdatePanel>
UploadableFile is a user control that contains the Uploader control:
<%@ Control Language="C#"
AutoEventWireup="true"
CodeBehind="UploadableFile.ascx.cs"
Inherits="InsideConnector.UploadableFile"
%>
<%@ Register TagPrefix="CuteWebUI"
Namespace="CuteWebUI"
Assembly="CuteWebUI.AjaxUploader"
%>
<CuteWebUI:Uploader id="Uploader1"
runat="server"
OnFileUploaded="Uploader1_FileUploaded"
InsertButtonID="btnUpload"
OnPreRender="Uploader1_PreRender"
>
<CancelButtonStyle
/>
<InsertButtonStyle
/>
<ProgressLabelStyle
/>
<ValidateOption
/>
</CuteWebUI:Uploader>
<asp:Button runat="server"
ID="btnUpload"
/>
<asp:Label runat="server"
ID="lblErrorMessage"></asp:Label>
Perhaps the UpdatePanel is contributing to the issue?
Thanks,
Mitch