New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent interface for configuring toolbar commands.

Definition

Constructors

GridToolBarCommandFactory method.

C#
public GridToolBarCommandFactory(GridToolBarSettings settings, Grid<T> grid)
Parameters:settingsGridToolBarSettingsgridGrid<T>

Methods

Sets toolbar template.

C#
public void ClientTemplate(string template)
Parameters:templatestring

The action defining the template.

ClientTemplate{TModel} method.

C#
public void ClientTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

ClientTemplateHandler method.

C#
public void ClientTemplateHandler(string template)
Parameters:templatestring

Sets the id of the script element which contains the client-side toolbar template of the grid.

C#
public void ClientTemplateId(string template)
Parameters:templatestring

Sets toolbar template.

C#
public void ClientTemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template.