RadFileExplorer Upload window refresh content

4 posts, 0 answers
  1. Jed
    Jed avatar
    16 posts
    Member since:
    Apr 2009

    Posted 23 Sep 2010 Link to this post

    Hi!

      How would I go about having the contents of the upload window be refreshed or reloaded when the window is either opened or closed. I've tried to use the add_beforeClose and add_close to call a function to do this but after trying reload() or setUrl(), or show() and none of these working for me I need some advise. I also have WindowManager.ReloadOnShow = true;

    Any help would be appreciated.

    Thanks!

    Jed
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 28 Sep 2010 Link to this post

    Hello Jed,

    The content of the Upload dialog is declared on the same page which host the RadFileExplorer control. This means that the ContentTemplate of the RadWindow is used and this is why the methods that you try do not work.
    Could you please provide me with more information what do you need to achieve? I believe that your requirements can be achieved using the existing API provided by RadControls.

    Sincerely yours,
    Fiko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jed
    Jed avatar
    16 posts
    Member since:
    Apr 2009

    Posted 28 Sep 2010 Link to this post

    Hi Fiko,

       Thanks for the reply. I'm looking for a way to reset the content of the Upload dialog without reloading the FIle Explorer. If a user clicks on the Upload button and changes items in the upload dialog, for example adding a new file select or checking the overwrite checkbox, and then closes the window by clicking the "X", when you click on the Upload button again the changes the user has made remain. I need it to reset back to the default content every time the window is closed.

    Thanks!

    Jed
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 01 Oct 2010 Link to this post

    Hello Jed,

    I recommend you to use the approach shown in the attached demo. Could you please check it and let me know if you have any further questions?

    All the best,
    Fiko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top