This example shows the client-side events supported by Telerik Splitter for ASP.NET MVC.
The splitter has the following events:
You can subscribe to each of the events in the following ways:
<%= Html.Telerik().Splitter()
.Name("Splitter")
.ClientEvents(events => events
.OnResize("onResize")
)
%>
<script type="text/javascript">
function onResize(e) {
// your code
}
</script>
<% Html.Telerik().Splitter()
.Name("Splitter")
.ClientEvents(events => events
.OnLoad(() => {%> function(e) { /* your code */ } <%})
.Render();
%>
<%= Html.Telerik().Splitter().Name("Splitter") %>
<script type="text/javascript">
$(document).ready(function() {
$('#Splitter').bind('contentLoad', function(e) { /* your code */ });
});
</script>