SplitterEventBuilder
Methods
Resize(System.Func)
Defines the Resize client-side event. Triggers when a pane is resized.
For more information see Resize event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Resize(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Resize(System.String)
Defines the Resize client-side event. Triggers when a pane is resized.
For more information see Resize event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Resize("onResize"))
)
Expand(System.Func)
Defines the Expand client-side event. Triggers when a pane of a Splitter is expanded.
For more information see Expand event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Expand(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Expand(System.String)
Defines the Expand client-side event. Triggers when a pane of a Splitter is expanded.
For more information see Expand event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Expand("onExpand"))
)
Collapse(System.Func)
Defines the Collapse client-side event. Triggers when a pane of a Splitter is collapsed.
For more information see Collapse event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Collapse(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Collapse(System.String)
Defines the Collapse client-side event. Triggers when a pane of a Splitter is collapsed.
For more information see Collapse event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Collapse("onCollapse"))
)
ContentLoad(System.Func)
Defines the ContentLoad client-side event. Triggers when the content for a pane has finished loading from a remote endpoint.
For more information see ContentLoad event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.ContentLoad(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
ContentLoad(System.String)
Defines the ContentLoad client-side event. Triggers when the content for a pane has finished loading from a remote endpoint.
For more information see ContentLoad event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.ContentLoad("onContentLoad"))
)
Error(System.Func)
Defines the Error client-side event. Triggers when the AJAX request that fetches a pane content has failed.
For more information see Error event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag (Razor syntax).
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Error(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Error(System.String)
Defines the Error client-side event. Triggers when the AJAX request that fetches a pane content has failed.
For more information see Error event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Error("onError"))
)
LayoutChange(System.Func)
For more information see LayoutChange event.
Parameters
handler - System.Func<Object,Object>
LayoutChange(System.String)
For more information see LayoutChange event.