Associate the context of an Upload widget to a new widget's html

4 posts, 0 answers
  1. Nick
    Nick avatar
    2 posts
    Member since:
    Jan 2014

    Posted 03 Nov Link to this post

    I realize there is a way to populate a Kendo Upload with initial files, however I'm trying to take this a step further.

    In the app I'm building I have a drawer widget that allows the user to toggle it from visible to hidden and due to the nature of this environment the drawer is actually destroyed between toggle. It's not a problem for the rest of my data because I'm using MVVM with KnockoutJS to simply rebind the content in the drawer when shown again. The Kendo Upload is inside this drawer and I need the ability for the user to be able to toggle the drawer while the Uploader is uploading (which means the Uploader html will be removed from the DOM).

    I noticed that once an upload is started the Kendo Upload actually continues to work even though the associated HTML doesn't exist anymore which sounds promising. I believe the solution is to figure out a way to associate a new Upload html with an existing Kendo Upload context.

    I do realize this isn't a supported feature, but was hoping you could help point me in the right direction. I believe I have the skill necessary to tackle this, but any help would be appreciated.

    Thanks.

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 04 Nov Link to this post

    Hello Nick,

    We cannot provide assistance regarding the mentioned scenario. If you are experiencing any difficulties with the built in widget features, do not hesitate to contact us.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
     
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
     
  3. Kendo UI is VS 2017 Ready
  4. Nick
    Nick avatar
    2 posts
    Member since:
    Jan 2014

    Posted 04 Nov in reply to Dimiter Madjarov Link to this post

    Thanks for your reply, but judging by your reply I'm not confident that there is anything that you could possibly help me with.

    After some additional research it appears that jQuery append() works excellent to move the widget around the DOM.

    Before my drawer closes I move the Uploader to another place on the page (hidden of course) and once the drawer opens again I move it back. There's absolutely no feature or performance issues in doing so.

    Hopefully this helps someone else.

  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 04 Nov Link to this post

    Hello Nick,


    Thank you for the update. I am glad the issue is resolved.


    Regards,

    Dimiter Madjarov
    Telerik by Progress
     
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
     
Back to Top
Kendo UI is VS 2017 Ready