Toolbar template

2 posts, 1 answers
  1. Ronald
    Ronald avatar
    21 posts
    Member since:
    Dec 2007

    Posted 09 Jul 2015 Link to this post


    I was wondering if there is a way to accomplish the toolbar functionality in a TreeList as shown for this example in a Grid: Grid / Toolbar template

    We need a filtering textbox in the toolbar, that filters the items when the input has changed.

     In the pages with Grid's I use buttons with icons from Font Awesome in the Toolbar, in the TreeList I only seem to be able to add buttons via Custom:


    .Toolbar(toolbar =>
            toolbar.Custom().Name("addfieldbutton").Text("Veld toevoegen");
            toolbar.Custom().Name("addfolderbutton").Text("Folder toevoegen");


    It would be nice to keep the design the same when using a TreeList.

     Here's my Toolbar for a grid.


    .ToolBar(toolbar =>
                    .HtmlAttributes(new { type = "k-button" })
                    .Content("Property toevoegen")
                    .SpriteCssClass("fa fa-plus")
                    .Events(e => e.Click("onCreateProperty"))


    Best regards,



  2. Answer
    Dimiter Madjarov
    Dimiter Madjarov avatar
    2264 posts

    Posted 13 Jul 2015 Link to this post

    Hello Ronald,

    Currently the UI for ASP.NET MVC TreeList does not have an option to define a toolbar template. I have logged this issue for fixing. Please excuse us for the inconvenience.

    Dimiter Madjarov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top