This is a migrated thread and some comments may be shown as answers.

RadFileExplorer Upload window refresh content

3 Answers 129 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Jed
Top achievements
Rank 1
Jed asked on 23 Sep 2010, 05:00 AM
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

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 28 Sep 2010, 04:29 PM
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
0
Jed
Top achievements
Rank 1
answered on 28 Sep 2010, 08:10 PM
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
0
Fiko
Telerik team
answered on 01 Oct 2010, 12:26 PM
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
Tags
FileExplorer
Asked by
Jed
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Jed
Top achievements
Rank 1
Share this question
or