Kendo.Mvc.UI.Fluent.ButtonGroupBuilder
Defines the fluent API for configuring the Kendo ButtonGroup for ASP.NET MVC.
Methods
Enable(System.Boolean)
Defines if the widget is initially enabled or disabled.
Parameters
value System.Boolean
The value that configures the enable.
Index(System.Int32)
Defines the initially selected Button (zero based index).
Parameters
value System.Int32
The value that configures the index.
Selection(System.String)
Accepts "multiple" and "single".By default, single selection is enabled.
Parameters
value System.String
The value that configures the selecton.
Items(System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupItemFactory>)
Contains the items of the button group widget
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupItemFactory>
The action that configures the items.
BindTo(System.Collections.Generic.IEnumerable<Kendo.Mvc.UI.ButtonGroupItem>)
BindTo method of the ButtonGroup
Parameters
items System.Collections.Generic.IEnumerable<Kendo.Mvc.UI.ButtonGroupItem>
The action that configures the items.
Events(System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupEventBuilder>
The client events action.
Example (ASPX)
<%= Html.Kendo().ButtonGroup()
.Name("ButtonGroup")
.Events(events => events
.Select("onSelect")
)
%>