New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Separator ToolBar Command Type

The Separator can act as a delimiter between the ToolBar commands.

The following example demonstrates how to define a Separator.

    @(Html.Kendo().ToolBar()
        .Name("ToolBar")
        .Items(items =>
        {
            items.Add().Type(CommandType.Button).Text("Button 1");
            items.Add().Type(CommandType.Separator);
            items.Add().Type(CommandType.Button).Text("Button 2");
        })
    )

See Also

In this article