RADAsyncUpload Control files stay in uploading state

2 posts, 0 answers
  1. Shilpa
    Shilpa avatar
    4 posts
    Member since:
    Jan 2014

    Posted 13 Jan 2014 Link to this post

    Hi,

    I am using RADAsycUpload control(2013.3.114.35) in my Sharepoint 2013 list form. The requirement is to be able to upload multiple files.
    I have done all the configuration using Telerik support links. But when I try to upload the files, they remain in uploading state and never get uploaded. Attached is the error screen shot. On checking in Chrome console, below is the error message i see:

    1. Uncaught SyntaxError: Unexpected token < ScriptResource.axd?d=ZxXzxOrMD3Bq85ND-7C3BhVYlw9PiRUgERjd5bruwV6jWu4cJJuNSVEMdwlQBFKUzotS7ry_wiv8vw…:3
      1. l


    Below is my control code in .aspx page:

    <

     

     

    telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic" UseApplicationPoolImpersonation="true" TemporaryFolder="E://Applications//SPC Folder"/>

     

    Please let me know how can I get this resolved.

    Thanks,
    Shilpa
  2. Plamen
    Admin
    Plamen avatar
    2729 posts

    Posted 16 Jan 2014 Link to this post

    Hello Shilpa,

    Similar behavior is most often observed if some of the web config handlers are not registrated:
    <system.web>
       <compilation debug="false" targetFramework="4.5" />
       <httpRuntime targetFramework="4.5" />
       <pages>
         <controls>
           <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
         </controls>
       </pages>
       <httpHandlers>
      
         <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
         <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
         <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
       </httpHandlers>
       <httpModules>
         <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
         <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
      
       </httpModules>
     </system.web>
      
     <system.webServer>
       <validation validateIntegratedModeConfiguration="false" />
       <modules runAllManagedModulesForAllRequests="true">
         <remove name="RadUploadModule" />
         <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
         <remove name="RadCompression" />
         <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
      
       </modules>
       <handlers>
      
         <remove name="ChartImage_axd" />
         <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
         <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_DialogHandler_aspx" />
         <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_RadUploadProgressHandler_ashx" />
         <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
         <remove name="Telerik_Web_UI_WebResource_axd" />
         <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
       </handlers>
     </system.webServer>

    Hope this will help you solve the issue.

    Regards,
    Plamen
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top