22 Answers, 1 is accepted
Please advise.
Thanks
Benoy
Could you please provide more details regarding the issue that you experience. In which aspects RadAsyncUpload does not work? Are there any JavaScript errors on the page?
Regards,
Genady Sergeev
the Telerik team
Case 1: Open the application in Firefox or Chrome with Silverlight add on enabled.
Browse and select the csv file. The upload indicator image turns red. See the attached image (withsvenabled.png).
Case 2: Perform the above operation with Silverlight add on disabled and this time the upload would be successful. See the attached image withsldisabled.png
We also noticed that this issue happens if Adobe Flash is enabled in Chrome and Firefox. Not an issue in IE.
Thanks
Benoy
Please add a handler for the OnClientFileUploadFailed event and alert the args.get_message() property. It should give us a clue on what is going wrong. I would appreciate if you could paste the message here.
Kind regards,
Genady Sergeev
the Telerik team
FYI: We are adding all controls dynamically from server side.
[net_uri_BadPort]
Arguments: 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=4.0.60129.0&File=System.dll&Key=net_uri_BadPort
We are not aware of such problem with RadAsyncUpload, it might be a new, unknown issue that we are not aware of. In order to troubleshoot the issue further please open a support ticket and attached there a fiddler cap log of the issue. A sample web page + web.config that reproduces the issue could be helpful too. Also, does the issue happen on Cassini (the visual studio integrated browser) or under IIS or under both?
Kind regards,
Genady Sergeev
the Telerik team
We never succeeded in reproducing the problem on our side. If you experience the same problem I suggest that you open a support ticket and attached there a fiddler cap log of the issue and/or sample web page + web.config that reproduces the issue. This is the only way we can start investigating the problem since it seems that it is not a standard one. Also, please check whether you don't have firewalls filtering somehow the file uploads or restricting third party plugins like Silverlight or Flash from operating properly.
Kind regards,
Genady Sergeev
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I've resolved the issue by re-installing Silverlight in chrome. Maybe this is a versioning issue?
Regards,
Len
I am not sure, by default RadAsyncUpload will search for Silverlight 4, older version are not applicable. Perhaps there was something wrong with the previous install.
All the best,
Genady Sergeev
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I'm using Telerik Rad Controls Q3 2011 SP1 full version but no change, still "multiple file selecting " and if "file validation" is also set but nothing working please guy's please find me solution
Could you please open a new support thread and give me more information about your problem (e.g. what is not working as expected). Please clarify what you mean by "nothing working" ? Are there any errors on the page?
Regards,
Peter Filipov
the Telerik team
my AsyncUpload worked well before i upgrade to 2012 Q1(v 2012.1.424.40) from 2011.1.413.40,
but when i upgrade that, it work well on IE9 but not working in chrome and Firefox .
even i copy code example from demo to a new web form and not solved my problem too.
when i look that html page source code of my web form, i see that on the chrome all of <li> tags of AsyncUpload1ListContainer
ul have Similar id while in IE9 not have any id.
if item cancel event, this error accrued:
- Uncaught TypeError: Cannot read property 'progress' of undefined
-
a.extend.cancelTelerik.Web.UI.WebResource.axd:2003
-
d.RadAsyncUpload._cancelUploadTelerik.Web.UI.WebResource.axd:1657
-
d.RadAsyncUpload.initialize._uploadModule.bind.FileSelectedTelerik.Web.UI.WebResource.axd:1579
-
f.event.dispatchTelerik.Web.UI.WebResource.axd:1323
-
f.event.add.h.handle.i
-
Here's the my code:
<!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
></
title
>
</
head
>
<
body
class
=
"BODY"
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
/>
<
div
class
=
"upload-panel"
>
<
telerik:RadProgressManager
runat
=
"server"
ID
=
"RadProgressManager1"
/>
<%-- For the purpose of this demo the files are discarded.
In order to store the uploaded files permanently set the TargetFolder property to a valid location. --%>
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"AsyncUpload1"
MultipleFileSelection
=
"Automatic"
TargetFolder
=
"~/App_Data/RadUploadTest"
>
</
telerik:RadAsyncUpload
>
<
telerik:RadProgressArea
runat
=
"server"
ID
=
"RadProgressArea1"
>
</
telerik:RadProgressArea
>
</
div
>
</
form
>
</
body
>
</
html
>
Thank a lot.
<!--[if !IE]>-->
<
script
type
=
"text/javascript"
>
Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; };
</
script
>
<!--<![endif]-->
and
after that i create a new project and create a page with radAsycUpload (v2012.1) normally , is that fine and worked without any problem so I think the bug in my application settings.
Thanks.
On Telerik's demo, in Chrome's Javascript Console I get this error:
Uncaught Error while uploading, HTTP Error code is: 0
Telerik.Web.UI.WebResource.axd:11291
http://demos.telerik.com/aspnet-ajax/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3af18b91a4-0e6c-41d1-af11-dfb338738b79%3a16e4e7cd%3af7645509%3a86526ba7%3a874f8ea2%3aa1a4383a%3a24ee1bba%3a1e771326%3a78b9daca%3a7165f74%3af46195d3%3a2003d0b8%3ae524c98b%3a628ebdd0%3aed16cbdc%3a19620875%3a3f6e8f3f%3a68f76a79%3a52af31a4%3a2a2fc429%3ae330518b%3a8e6f0d33%3a6a6d718d%3aa7e79140
Failed to load resource
http://demos.telerik.com/aspnet-ajax/Telerik.Web.UI.WebResource.axd?type=rau
When the upload is canceled the returned http status code is zero "0". That why the control suggest it like an exception. The fix will be available in the next internal build. Until then you could handle the OnClientFileUploadFailed event and handled the exception. E.g.
<
telerik:RadScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
/>
<
div
class
=
"upload-panel"
>
<
telerik:RadProgressManager
runat
=
"server"
ID
=
"RadProgressManager1"
/>
<%-- For the purpose of this demo the files are discarded.
In order to store the uploaded files permanently set the TargetFolder property to a valid location. --%>
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"AsyncUpload1"
OnClientFileUploadFailed
=
"OnClientFileUploadFailed"
MultipleFileSelection
=
"Automatic"
>
</
telerik:RadAsyncUpload
>
<
telerik:RadProgressArea
runat
=
"server"
ID
=
"RadProgressArea1"
>
</
telerik:RadProgressArea
>
</
div
>
<
script
type
=
"text/javascript"
>
function OnClientFileUploadFailed(sender, args) {
args.set_handled(true);
}
</
script
>
Do you experience that issue in other cases except when the upload is canceled?
Kind regards,
Peter Filipov
the Telerik team
RadsyncUpload work fine on IE but doesn't work on Firefox and Chrome.
This happens only when I am trying the page on my hosting account. If i run it locally there isn't any problem.
I have tested the control and everything is working fine. Could you please elaborate a bit on your case? Which version of the control are you using?
Regards,
Peter Filipov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
When i add an attachment it shows the Cancel link instead of Remove and the file is not attached.
It is working fine with crome and it showing Remove After adding the file.
/Bharath
Unfortunately I couldn't replicate the issue at my end. Please try to replicate the issue in this online demo or provide a sample code snippet where I can reproduce the issue for further help.
Thanks,
Shinu
- I was using windows authentiaction for my web app.
- When i uploaded, the yellow dot kept blinking and the upload was failing.
It is all access issue , did the below changes and it worked form me
Server level settings:
1.Navigate to C:\Windows\System32\inetsrv\config
2.Open configuration file
C:\Windows\System32\inetsrv\config\applicationHost.config
3. Search section with section
name="anonymousAuthentication"
<section name="anonymousAuthentication"
overrideModeDefault="Allow" />
4. Set overrideModeDefault="Allow" (If it is already
allowed, skip step 4 and continue)
Steps handled in Web application config file – we are setting
anonymous access to the Telerik.Web.UI.WebResource.axd alone
Add the below snippet under <configuration> node in each
of the web.config files. This will allow the
resource "Telerik.Web.UI.WebResource.axd" to be
accessed as anonymous.
<location
path="Telerik.Web.UI.WebResource.axd">
<system.web>
<authorization>
<allow users="?"
/>
</authorization>
</system.web>
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
</location>