This example shows the client-side events supported by Telerik Editor for ASP.NET MVC.
The Editor has the following events:
You can subscribe to each of the events in the following ways:
<%= Html.Telerik().Editor()
.Name("Editor")
.ClientEvents(events => events
.OnLoad("onLoad")
)
%>
<script type="text/javascript">
function onLoad(e) {
// your code
}
</script>
<% Html.Telerik().Editor()
.Name("Editor")
.ClientEvents(events => events
.OnLoad(() =>
{%>
function(e) {
// your code
}
<%})
.Render();
%>