Is there is any easy way to allow users to copy the uploaded file complete path in RadFileExplorer?

3 posts, 0 answers
  1. ABC
    ABC avatar
    20 posts
    Member since:
    Mar 2012

    Posted 24 Jul 2013 Link to this post

    I am using RadFileExplorer which looks good. But users also want to copy the path of the uploaded file. Is there any easy way? For example, right click and Copy Path.
  2. Vessy
    Vessy avatar
    2127 posts

    Posted 26 Jul 2013 Link to this post


    I am not sure that I understand what exactly do you mean with "users also want to copy the path of the uploaded file":
    • if you want the user to be able to copy the server path to the currently uploaded file - this functionality is not available out-of-the box but you can achieve it by adding a custom command in the Grid context menu, where to implement the desired functionality. More information is available here: Adding a custom button to the toolbar and an item to the tree context menu
      For example, you could do it in a similar way:
      telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" OnClientLoad="OnClientLoad">
          <Configuration ViewPaths="~/Images" UploadPaths="~/" DeletePaths="~/Images" />
      <script type="text/javascript">
          function OnClientLoad(explorer, args) {
          function gridContextMenuClicked(sender, args) {
              var buttonValue = args.get_item().get_value();
              if (buttonValue == "copyPath") {
                  var path = $find("RadFileExplorer1").get_selectedItem().get_path();
      void Page_Load(object sender, EventArgs e)
          if (!IsPostBack)
              RadMenuItem customMenuOption = new RadMenuItem("Copy Path");
              customMenuOption.Value = "copyPath";
    • if you want to access the original path to the uploaded file (from the user's PC) - I am afraid that cannot be achieved. More detailed information on the subject is available here.

    I hope you will find this information helpful. Feel free to contact us if we could be of any further assistance.

    Veselina Raykova
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. ABC
    ABC avatar
    20 posts
    Member since:
    Mar 2012

    Posted 18 Sep 2013 Link to this post

    I want a Context Menu option to Copy Path
Back to Top