Hi,
I am experiencing a very odd issue. If you have a RadAsyncUpload in an UpdatePanel on Windows XP you get the following js error:
'Error: uncaught exception: Syntax error, unrecognized expression: [object Object]'
This error appears to be related to JQuery. I get the error in any browser on Windows XP but on no browser on Windows Vista. The following code will reproduce the error:
Or you can test at http://xptest.abcweblink.com/
Notice that the mere presence of the RadAsyncUpload causes the error even though it doesn't actually do anything.
Thank you for any assistance.
Jeff Paetkau
I am experiencing a very odd issue. If you have a RadAsyncUpload in an UpdatePanel on Windows XP you get the following js error:
'Error: uncaught exception: Syntax error, unrecognized expression: [object Object]'
This error appears to be related to JQuery. I get the error in any browser on Windows XP but on no browser on Windows Vista. The following code will reproduce the error:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
>RadAsyncUpload in UpdatePanel on Windows XP Test</
title
>
</
head
>
<
body
>
<
form
runat
=
"server"
enctype
=
"multipart/form-data"
>
<
asp:ScriptManager
runat
=
"server"
/>
<
asp:UpdatePanel
ID
=
"UpdatePanel"
runat
=
"server"
><
ContentTemplate
>
<
rad:RadAsyncUpload
runat
=
"server"
MultipleFileSelection
=
"Automatic"
/>
<
asp:Button
runat
=
"server"
OnClick
=
"OnClick"
Text
=
"Run Test"
/>
</
ContentTemplate
></
asp:UpdatePanel
>
</
form
>
</
body
>
</
html
>
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Web;
using
System.Web.UI;
using
System.Web.UI.WebControls;
public
partial
class
_Default : System.Web.UI.Page
{
protected
void
OnClick(
object
sender, EventArgs e)
{
System.Web.UI.ScriptManager.RegisterStartupScript(UpdatePanel,
typeof
(
string
), Guid.NewGuid().ToString(),
"alert('Successful');"
,
true
);
}
}
Or you can test at http://xptest.abcweblink.com/
Notice that the mere presence of the RadAsyncUpload causes the error even though it doesn't actually do anything.
Thank you for any assistance.
Jeff Paetkau