Thumbnail URL called before upload completed

2 posts, 0 answers
  1. Christina
    Christina avatar
    4 posts
    Member since:
    Nov 2012

    Posted 03 Jun 2013 Link to this post


    I am using the image browser to upload relatively small images (ie 500k) to the filesystem. I have a process whereby the file is uploaded, the MVC controller saves this image to a particular place with a particular name (a GUID). It then returns the JSON result with the new name of the image. This process works perfectly on a local development machine. However, when I deployed this to our test environment, the image was uploaded, but the thumbnail stayed on the swirling ajax loading image.

    I've since found that by debugging on my development machine (and therefore slowing down the process) that the ThumbnailUrl gets called before the image has finished uploading. It also gets called with the original name of the file, which is obviously no good for me, as I have changed the name of the file during saving. When this process happens in quicker succession on my local machine, everything gets called at the right time, with the right parameters.

    Is there anyway to delay the call to the thumbnailurl call to ensure the upload has completed? Currently I'm having to close the image browser window and reopen so that it loads the thumbnails correctly.

  2. Rosen
    Rosen avatar
    3214 posts

    Posted 05 Jun 2013 Link to this post

    Hi Christina,

    There was a similar issue with older version of KendoUI. Therefore, could you please make sure you are using the latest (Q1 SP1 2013) version.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET AJAX banner
Back to Top