Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Upload > Hidden RadUpload
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Hidden RadUpload

Feed from this thread
  • ANTONIN avatar

    Posted on May 27, 2011 (permalink)

    Hi Everybody !

    First information : I'm sorry, I'm not really used to Telerik controls. The only thing I know is that I have a very strange behaviour with the radupload one...

    I got a form with a radupload control. This form has already been deployed on all our final environments (preproduction/production) and the control works fine. My problem is that we are currently working on a new version ; version where the radupload is not displayed... Of course we haven't changed anything on this form :(

    Here are the two HTML:
    • PREPRODUCTION (control is well displayed) :
    • <div id="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsync" class="RadAsyncUpload RadUpload RadUpload_Mystyle" skinspath="~/RadControls/Skins/">
      <!-- 2010.2.1015.35 -->
      <input id="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsync_ClientState" name="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsync_ClientState" type="hidden" autocomplete="off">
      <ul id="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsyncListContainer" class="ruInputs"><li><span class="ruFileWrap ruStyled"><input type="text" class="ruFakeInput" size="22"><input type="button" value="Parcourir..." class="ruButton ruBrowse"><input type="file" name="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsyncfile0" id="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsyncfile0" size="23" class="ruFileInput" style="position: absolute; left: 0px; top: -5000px; "></span></li></ul></div>
    • LOCAL (control is hidden) :
    • <div id="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsync" class="RadAsyncUpload RadUpload RadUpload_Mystyle" skinspath="~/RadControls/Skins/">
      <!-- 2010.2.1015.35 -->
      <input id="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsync_ClientState" name="ctl00_ctl00_siteContent_mainPageContent_JustifUploadFileID_uploadRibAsync_ClientState" type="hidden">
      </div>

    I don't understand why the "ul" is not loaded... note that the radupload control is included in one main form and then a child form. The only difference I found when I compare the rendered html is that the second form contains the following attribute in PREPRODUCTION case :
    enctype="multipart/form-data"

    Do you think this could explain my problem ?

    FYI, I tried to use the latest version of the assemblies and it doesn't change anything. I have also verified that the css path are well resolved. Scripts calls and RadScriptManager are the same.

    I really need help because we have looked for a solution these two last days and our next release is linked to this fix.

    AB

  • Dimitar Terziev Dimitar Terziev admin's avatar

    Posted on Jun 3, 2011 (permalink)

    Hi ANTONIN,



    Could you clarify, if you receive any javascript error on the page with the RadUpload.



    From what you have provided as rendered html, the RadUpload is not loaded at all.  The possible reasons for this behavior should be some javascript errors.



    Regards,

    Dimitar Terziev
    the Telerik team

    Consider using RadControls for ASP.NET AJAX (built on top of the ASP.NET AJAX framework) as a replacement for the Telerik ASP.NET Classic controls, See the product support lifecycle here.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Upload > Hidden RadUpload