I added Kendo.Mvc.dll (2018.3.1017.545) to my mvc project in vs2019.
I write this code in my index.cshtml file.
@(Html.Kendo().Editor()
.Name("Test")
.HtmlAttributes(new { style = "width: 100%; height:840px" })
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline()
.JustifyLeft().JustifyCenter().JustifyRight()
.InsertUnorderedList().InsertOrderedList()
.Outdent().Indent()
.CreateLink().Unlink()
.InsertImage()
.TableEditing()
.FontName()
.FontSize()
.BackColor()
.FontColor()
)
.ImageBrowser(imageBrowser => imageBrowser
.Image("~/shared/UserFiles/Images/{0}")
.Read("Read", "ImageBrowser")
.Create("Create", "ImageBrowser")
.Destroy("Destroy", "ImageBrowser")
.Upload("Upload", "ImageBrowser")
)
.Value(@<text>
</text>)
)
and I added this using at top of my file:
@using Kendo.Mvc.UI
and I added these Scripts to _layout:
<script src="~/Scripts/kendo/kendo.all.min.js"></script>
<script src="~/Scripts/kendo/kendo.aspnetmvc.min.js">
</script><script src="~/Scripts/kendo/kendo.editor.min.js"></script>
even once I added all .js and .css file of kendo, but not worked.
but in chrome I see an empty TextArea.
what else should I do to fix it?
thanks