Skip to content

Instantly share code, notes, and snippets.

@lohithgn
Created March 26, 2013 15:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lohithgn/5246285 to your computer and use it in GitHub Desktop.
Kendo Editor API
<p>
@(
Html.Kendo().Editor()
.Name("kEditor")
.HtmlAttributes(new {style="width:740px;height:240px"})
)
</p>
<script>
$(document).ready(function () {
var editor = $("#kEditor").data("kendoEditor")
editor.value("Text added at runtime")
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment