SplitterEventBuilder
Methods
Collapse(System.String)
Triggered 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 collapse event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Collapse("onCollapse"))
)
Collapse(System.Func)
Triggered 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.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Collapse(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
ContentLoad(System.String)
Triggered when the content for a pane has finished loading.
For more information see ContentLoad event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the contentLoad event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.ContentLoad("onContentLoad"))
)
ContentLoad(System.Func)
Triggered when the content for a pane has finished loading.
For more information see ContentLoad event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.ContentLoad(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Error(System.String)
Triggered 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 error event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Error("onError"))
)
Error(System.Func)
Triggered 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.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Error(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Expand(System.String)
Triggered 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 expand event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Expand("onExpand"))
)
Expand(System.Func)
Triggered 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.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Expand(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Resize(System.String)
Triggered 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 resize event.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Resize("onResize"))
)
Resize(System.Func)
Triggered 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.
Example
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events => events.Resize(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)