RadUpload not finding files with Radajaxmanager

Thread is closed for posting
3 posts, 0 answers
  1. Rahul
    Rahul avatar
    50 posts
    Member since:
    Jun 2008

    Posted 03 Jan 2012 Link to this post

    I have a radupload inside radgrid as an itemtemplate. The uploader is used to save icon image in database along with other details. The grid has a checkbox whose autopostback is set on for checking checkChanged event accordingly. I have used radajaxmanager so that the page doesnot post back. But i face a problem when i try to save the uploaded image icon using radtoolbarbutton. Uploaded file show 0 count when i try to save the same as the page post back and there is no file to save. I have also added a client side function for disabling ajax on its clientclick of radtoolbarbutton but it results in an error of "Object doesn't support property or method 'set_enableAjax'". Please help me in achieving the required target without any code compromises.
    Thanks in advance.
  2. jumpstart
    jumpstart avatar
    479 posts
    Member since:
    Nov 2011

    Posted 03 Jan 2012 Link to this post


    Why do you choose to use the RadUpload instead of the RadAsyncUpload control in association with your image upload from within the RadGrid? It sounds like your application is using AJAX.

    I'm referring to the functionality displayed in the Grid/Binary Images and RadAsyncUpload in Grid online demo.

    Let me know your desired functionality and I will try to assist you more.

  3. DevCraft R3 2016 release webinar banner
  4. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 04 Jan 2012 Link to this post

    Hello Rahul,

    In general when working on scenarios with Ajax it's more convenient to use the RadAsyncUpload instead of the RadUpload as Richard had suggested. Nevertheless if you want to use the RadUpload you should disable the Ajax when the toolbar button is clicked as you are trying. In order to identify why you are not able to achieve the aforementioned action, please provide me the code that you are using so I could inspect it.

    Here you could find a help article which is showing how to disable the ajax and perform a full post-back in scenarios like your.

    All the best,
    Dimitar Terziev
    the Telerik team
    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 their blog feed now
Back to Top