Why cant choose files ?

4 posts, 0 answers
  1. M Kumar
    M Kumar avatar
    74 posts
    Member since:
    Apr 2008

    Posted 08 Mar Link to this post

    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

  2. Attila Antal
    Admin
    Attila Antal avatar
    302 posts

    Posted 13 Mar Link to this post

    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.
  3. M Kumar
    M Kumar avatar
    74 posts
    Member since:
    Apr 2008

    Posted 14 Mar in reply to Attila Antal Link to this post

    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, 
  4. Attila Antal
    Admin
    Attila Antal avatar
    302 posts

    Posted 14 Mar Link to this post

    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.
Back to Top