asp.net - How to make Telerik Editor Control Readonly? -


i have implemented telerik editor control in web page . can tell me how make readonly. want prevent user enter in editor.

code below--

 @{ 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();                               } 

please me asap..

unfortunately not possible currently. have render text inside iframe or div typical html element, style element similar editors (height, border, background, etc). appear user "disabled."


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -