RadFileExplorer - client-side mew fetures request

2 posts, 0 answers
  1. Michael
    Michael avatar
    72 posts
    Member since:
    Mar 2007

    Posted 13 Nov 2011 Link to this post

    I think will be great to have some new events related to toolbar buttons: OnDleteClicking(ed),  OnUploadClicked, etc.
    These will provide an easier way to interact with control.
    Hope this helps in some way.

  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 14 Nov 2011 Link to this post

    Hi Dan,

    Thank you for your feature request. I have logged it into our database and we will consider such implementations.

    For the time being, you can use the following approach to handle the ClientClicking / ClientCliecked events of the RadFileExplorer toolbar's Upload and Delete buttons using the following approach:
    <telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" OnClientLoad="OnClientLoad">
        <Configuration ViewPaths="~/ROOT" DeletePaths="~/ROOT" UploadPaths="~/ROOT" />
    <script type="text/javascript">
        function OnClientLoad(explorer, args)
            var toolbar = explorer.get_toolbar();
            toolbar.add_buttonClicking(function (sender, arguments)
                if (arguments.get_item().get_value() == "Upload") {
                    alert("Upload button Clicking");
            toolbar.add_buttonClicked(function (sender, arguments)
                if (arguments.get_item().get_value() == "Upload") {
                    alert("Upload button Clicked");

    You can use similar approach for the Tree's and Grid's context menu built-in items.

    Please review the following help article for more information on the subject:
    Adding a custom button to the toolbar and an item to the tree context menu

    the Telerik team
    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 their blog feed now
Back to Top