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

How to know that new file has been uploaded?

1 Answer 55 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Shaza
Top achievements
Rank 1
Shaza asked on 21 Jul 2011, 10:33 AM
Hey,
I'm working on fileExplorer control to upload files which I need to save their metadata in a DataBase, so upon uploading I need to call some methods to do that, but I can't figure out the event that triggers onUploading please can you help me?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 21 Jul 2011, 05:03 PM
Hi Shaza,

You can use the RadFileExplorer's ItemCommand server-side event to achieve the required functionality,e.g.:
protected void RadFileExplorer1_ItemCommand(object sender, RadFileExplorerEventArgs e)
{
    if(e.Command == "UploadFile")
    {
        //add custom code here
    }
}
If multiple files are uploaded this event will be fired for each file.

More information regarding the RadFileExplorer's custom-side events is available in this help article.

Kind regards,
Dobromir
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
FileExplorer
Asked by
Shaza
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or