Popup Editor not firing

2 posts, 0 answers
  1. Jako
    Jako avatar
    107 posts
    Member since:
    Apr 2012

    Posted 18 Sep 2015 Link to this post

    Hi everyone

     I have a kendo grid with a custom popup editor. 

     On this editor I have a async upload to add more files, but when adding files it never fires the update ActionResult. I have to manually change some values of the other model fields before it fires?

     I have even set a model value via jQuery when a file is uploaded, but it seems it ignores changes via jquery.

     Please advise.

     Thank you.

  2. Alex Gyoshev
    Alex Gyoshev avatar
    2513 posts

    Posted 22 Sep 2015 Link to this post

    Hello Jako,

    From what I understand you want the grid model to be updated once files have been uploaded. If that is the case, this should be done via code in the success handler of the file upload. You can update the model via JavaScript -- to notify the DataSource of the change, use the JS setter:

    model.set("fileCount", uploadedFiles.length);

    If this does not provide enough information to resolve the problem, please provide the relevant code for the functionality, so that we can provide a suggestion.

    Alex Gyoshev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top