ToolBarEventBuilder
Methods
Click(System.String)
Fires when the user clicks a command button.
For more information see Click event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the click event.
Example
@(Html.Kendo().ToolBar()
.Name("toolBar")
.Events(e => e.Click("onClick"))
)
Close(System.String)
Fires when the SplitButton's popup closes.
For more information see Close event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the close event.
Example
@(Html.Kendo().ToolBar()
.Name("toolBar")
.Events(e => e.Close("onClose"))
)
Open(System.String)
Fires when the Split Button's popup opens.
For more information see Open event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the open event.
Example
@(Html.Kendo().ToolBar()
.Name("toolBar")
.Events(e => e.Open("onOpen"))
)
Toggle(System.String)
Fires when the user changes the checked state of a toggle button.
For more information see Toggle event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the toggle event.
Example
@(Html.Kendo().ToolBar()
.Name("toolBar")
.Events(e => e.Toggle("onToggle"))
)
OverflowClose(System.String)
Fires when the overflow popup container is about to close.
For more information see OverflowClose event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the overflowClose event.
Example
@(Html.Kendo().ToolBar()
.Name("toolBar")
.Events(e => e.OverflowClose("onOverflowClose"))
)
OverflowOpen(System.String)
Fires when the overflow popup container is about to open.
For more information see OverflowOpen event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the overflowOpen event.
Example
@(Html.Kendo().ToolBar()
.Name("toolBar")
.Events(e => e.OverflowOpen("onOverflowOpen"))
)