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

Client-side script after uploading

1 Answer 66 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Patrik Holmberg
Top achievements
Rank 1
Patrik Holmberg asked on 17 Sep 2009, 01:11 PM
Hello,

I've been trying to find a way to execute a client-side script after successful upload of files from the FileExplorer upload. I was hoping you could help me with this.

I'm not sure if any of my code is needed, do ask if it is.

The closest solution I've managed to find so far is by using the "OnClientSubmitting" on the RadProgressManager. But the problem with this one is that it's executed even when you click the other buttons on FileExplorer, for example Refresh, Delete etc.

I hope I was clear enough.

Thanks in advance
/Cristoffer

1 Answer, 1 is accepted

Sort by
0
Patrik Holmberg
Top achievements
Rank 1
answered on 18 Sep 2009, 06:43 AM
I actually finally solved it myself.
By using FileExplorer's OnItemCommand and in code behind I used the RadFileExplorerEventArgs to check if it was the "UploadFile" command.
Tags
FileExplorer
Asked by
Patrik Holmberg
Top achievements
Rank 1
Answers by
Patrik Holmberg
Top achievements
Rank 1
Share this question
or