Error when using RadAsyncUpload in RadGrid

5 posts, 0 answers
  1. Chris
    Chris avatar
    10 posts
    Member since:
    Feb 2014

    Posted 04 Oct Link to this post

    Hi all,

    I have a RadAsyncUpload inside a RadGrid, all of which is inside a RadWizard. These controls are in a user control that is loaded dynamically by the content page in a placeholder.

    Whenever I go into Add or Edit mode in my RadGrid, the RadAsyncUpload does not render and I get the following error in my JS console

    (see attachment error1.png)

    Is there a known issue with using RadAsyncUploads in RadGrids, or a specific way to go about it? 

    I've tried mimicking this demo but I get the same error. https://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultvb.aspx?product=asyncupload

    Any help is greatly appreciated!

    Chris

  2. Chris
    Chris avatar
    10 posts
    Member since:
    Feb 2014

    Posted 04 Oct Link to this post

    Note, in the screenshot above, the RadAsyncUpload should render under the "C.V" column, but nothing appears.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Anton
    Admin
    Anton avatar
    61 posts

    Posted 07 Oct Link to this post

    Hi Chris,

    I attached you a sample project where AsyncUpload - Integration with Ajaxified RadGrid demo is isolated, and the RadAsyncUpload is rendered.

    In order the project to run correctly please add reference to Telerik.Web.UI.dllTelerik.Web.UI.Skins.dllTelerik.Web.Design.dll. Also place the Telerik.mdf and Telerik_log.ldf in the App_Data folder of the project.

    Regards,
    Anton
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  5. Chris
    Chris avatar
    10 posts
    Member since:
    Feb 2014

    Posted 07 Oct Link to this post

    Hi Anton,

    Thanks for your reply. I actually ended up rebuilding the screen and removed the AsyncUpload from the RadGrid. 

    I think my problem is actually my use of RadAjaxManagerProxy and my AjaxSettings. I am doing registering some startup scripts after the grid enters edit mode, and that's when the error comes up.

    I think it may be related to this: http://www.telerik.com/forums/error-uncaught-typeerror-cannot-read-property-'ajaxrequest'-of-null

    So I'm checking out that demo to see if it will help, as I am continuing to see that JS error in other areas in my application.

    Thanks,
    Chris

  6. Anton
    Admin
    Anton avatar
    61 posts

    Posted 10 Oct Link to this post

    Hello Chris,

    We'll stay in touch if you experience any further issues.

    Regards,
    Anton
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017