Standard commands in Toolbar template

3 posts, 1 answers
  1. Bob
    Bob avatar
    138 posts
    Member since:
    Sep 2012

    Posted 27 Jun Link to this post

    Is there an easy way to use the toolbar.Create() and toolbar.Save() builders in the toolbar template.

    I want to add a dropdown for filtering while maintaining the default buttons.

    I see no way to get toolbar.Create() to send me it's rendered text to add to the template??

    Basically I want to duplicate something like this demo but still have the standard add/save buttons in the toolbar as well.




  2. Answer
    Ianko avatar
    1507 posts

    Posted 29 Jun Link to this post

    Hi Bob,

    You can just put a button in the template with a class name corresponding to the command. For example for toolbar.Create() use class name k-grid-add

    You can simplify the task by setting up a grid with the needed built-in commands and take the HTML that is rendered in the toolbar. 

    You can see an example for that here:

    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
  3. UI for ASP.NET AJAX banner
  4. Bob
    Bob avatar
    138 posts
    Member since:
    Sep 2012

    Posted 29 Jun in reply to Ianko Link to this post

    Yes, thanks. That's what I ended up doing.


Back to Top