I created a page that uses the "Upload Avatar" example exactly, and when I run it in IE 9 I get the following error:
"Unable to get value of the property 'ajaxRequest': object is null or undefined"
Has anyone seen this?
"Unable to get value of the property 'ajaxRequest': object is null or undefined"
Has anyone seen this?
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManager1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Thumbnail"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
script
type
=
"text/javascript"
>
function fileUploaded(sender, args) {
$find('RadAjaxManager1').ajaxRequest();
$telerik.$(".invalid").html("");
setTimeout(function() {
sender.deleteFileInputAt(0);
}, 10);
}
function validationFailed(sender, args) {
$telerik.$(".invalid")
.html("Invalid extension, please choose an image file");
sender.deleteFileInputAt(0);
}
</
script
>
<
telerik:RadBinaryImage
runat
=
"server"
Width
=
"200px"
Height
=
"150px"
ResizeMode
=
"Fit"
ID
=
"Thumbnail"
ImageUrl
=
"blank.png"
AlternateText
=
"Thumbnail"
CssClass
=
"binary-image"
/>
<
span
class
=
"invalid"
></
span
>
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"AsyncUpload1"
MaxFileInputsCount
=
"1"
OnClientFileUploaded
=
"fileUploaded"
OnFileUploaded
=
"AsyncUpload1_FileUploaded"
AllowedFileExtensions
=
"jpeg,jpg,gif,png,bmp"
OnClientValidationFailed
=
"validationFailed"
>
<
Localization
Select
=
"Upload Logo"
/>
</
telerik:RadAsyncUpload
>