SplitterEventBuilder
Defines the fluent API for configuring the Kendo Splitter for ASP.NET MVC events
Methods
Resize(System.Func)
Defines the inline handler of the Resize client-side event
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 name of the JavaScript function that will handle the the Resize client-side event.
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 inline handler of the Expand client-side event
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 name of the JavaScript function that will handle the the Expand client-side event.
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 inline handler of the Collapse client-side event
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 name of the JavaScript function that will handle the the Collapse client-side event.
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 inline handler of the ContentLoad client-side event
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 name of the JavaScript function that will handle the the ContentLoad client-side event.
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 inline handler of the Error client-side event
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 name of the JavaScript function that will handle the the Error client-side event.
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.