【发布时间】:2013-05-05 03:42:01
【问题描述】:
我已经在我的网页中实现了 Telerik Editor 控制。谁能告诉我如何使它只读。我只是想阻止用户在编辑器中输入任何内容。
下面的代码--
@{ Html.Telerik().Editor()
.Name("Content")
.HtmlAttributes(new { style = "height:150px;"})
.Encode(true)
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline().Strikethrough().Subscript().Superscript().Separator()
.FontName().FontSize()
.FontColor().BackColor().Separator()
.JustifyLeft().JustifyCenter().JustifyRight().JustifyFull().Separator()
.InsertUnorderedList().InsertOrderedList().Separator()
.Indent().Outdent().Separator()
.Break()).Render();
}
请尽快帮助我..
【问题讨论】:
标签: asp.net asp.net-mvc-3 razor telerik