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

Why cant choose files ?

3 Answers 15 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
M Kumar
Top achievements
Rank 1
Iron
Veteran
M Kumar asked on 08 Mar 2019, 10:26 AM
Hi.  when i choose file i get resource error and file not uploaded in cotrol.
Screenshot : http://prntscr.com/mv05mb 

I tried following ways,
 1, removed telerik dll and added again,
 2 removed web config and added upload control again and register radscript also, still problem

3 Answers, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 13 Mar 2019, 07:56 AM
Hi,

Please double check whether AJAX is enabled, is that is the case I advise turning it off Temporarily and test it again: Get more descriptive errors by disabling AJAX. If that fixes the problem, perhaps there is something missing from the configuration. You can compare your current settings with the one presented in our demo to see what is done differently: AsyncUpload - File Upload via AJAX

After that you can try following markup on a page where only the RadScriptManager, RadAjaxManager and RadAsyncUpload is present in the Form and see if it works for you:

<form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
 
    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"></telerik:RadAsyncUpload>
</form>

If the issue still persist please share the aspx page (markup and code behind) along with the web.config and we will take a look.

Kind regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
M Kumar
Top achievements
Rank 1
Iron
Veteran
answered on 14 Mar 2019, 10:55 AM
Hi,
   Thanks for reply problem with folder, in iis deployed folder not have full permission , so file cant save in rad upload temp folder while choose file, after giving full permission to that folder can upload file.
Now got different problem, if file name length including extension 255 more, then upload control abnormally throws error and also that error cant handle. so which event can handle that file name problem, i already open new thread also, 
0
Attila Antal
Telerik team
answered on 14 Mar 2019, 11:22 AM
Hi,

I am glad to hear that the issue has been resolved.

As the new issue is not related to the thread's original topic I suggest that we discuss that in the other post at: How to fix the max length of file name

Kind regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
AsyncUpload
Asked by
M Kumar
Top achievements
Rank 1
Iron
Veteran
Answers by
Attila Antal
Telerik team
M Kumar
Top achievements
Rank 1
Iron
Veteran
Share this question
or