How to know that new file has been uploaded?

2 posts, 0 answers
  1. Shaza
    Shaza avatar
    19 posts
    Member since:
    Apr 2011

    Posted 21 Jul 2011 Link to this post

    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?
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 21 Jul 2011 Link to this post

    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,
    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!

Back to Top