Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143854 | Apr 8,2019 09:11 AM UTC | Apr 9,2019 05:57 AM UTC | ASP.NET MVC | 1 |
![]() |
Tags: RichTextEditor |
@{Html.EJ().RTE("rteSample").ClientSideEvents(e=>e.Keydown("onKeyDown").Change("onChange")).Width("100%").Height("380px").ContentTemplate(@<div>
<p><b>Description:</b></p>
<p>
The Rich Text Editor (RTE) control is an easy to render in
client side. Customer easy to edit the contents and get the HTML content for
the displayed content. A rich text editor control provides users with a toolbar
that helps them to apply rich text formats to the text entered in the text
area.
</p>
</div>).MinWidth("200px").Render();}
<script>
function onChange(args) {
console.log(args.value)
}
function onKeyDown(args) {
if (args.keyCode == 17) {
var check = confirm("Please click OK for navigation to demo page.")
if (check)
}
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.