This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload Javascript error

1 Answer 66 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jerry
Top achievements
Rank 1
Jerry asked on 09 Aug 2012, 09:20 PM
When i try to upload a file using RadAsyncUpload, im getting a javascript error.

CODE:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="actk" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControls" Namespace="AjaxControls" TagPrefix="acs" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
 
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="scriptManager" runat="server">
    </asp:ScriptManager>
    <div>
     <telerik:RadAsyncUpload ID="rUploadFile" runat="server" AllowedFileExtensions=".txt,.xml"
                                               MaxFileInputsCount="1"  ControlObjectsVisibility="RemoveButtons" Width= "80%"  MaxFileSize="10000">
                                           </telerik:RadAsyncUpload>
                                           
    </div>
    </form>
</body>
</html>

Error:
      Microsoft JScript runtime error: Error while uploading, [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.10411.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 14 Aug 2012, 01:33 PM
Hi,

I tested the code that you pasted locally with the latest version and it worked  properly at my side. Would you please clarify the exact version of RadControls used and the browser used when observing this issue?

You can also refer to this help article where most of the known troubleshooting issues are listed.

Hope this will be helpful.

All the best,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Upload (Obsolete)
Asked by
Jerry
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or