This question is locked. New answers and comments are not allowed.
Hi,
I am trying to make an Editor Readonly/Disabled so that the user should be unable to type any text in the editor. Unfortunately my code is not working. Does anybody knows why? Thanks.
Here is a sample code:
@(Html.Telerik().Editor()
.Name(
"editor")
.HtmlAttributes
(
new { style = "height:100px", disabled = "disabled", @readonly="readonly" })
.Value(
""));
Thanks
Marc
5 Answers, 1 is accepted
0
nachid
Top achievements
Rank 1
answered on 30 Nov 2010, 07:53 PM
Search the forum as this question was already asked and answered by someone from the team
If I do remember well it is not possible to have a read only editor
Anyway, think about it
What's the benefit having a read-only disabled Editor?
If I do remember well it is not possible to have a read only editor
Anyway, think about it
What's the benefit having a read-only disabled Editor?
0
Marc
Top achievements
Rank 1
answered on 01 Dec 2010, 09:20 AM
Hi
the purpose of having a rich text box disbaled/readonly is to be able to view the rich text that is coming from the DB and which was previously edited with a rich text box..
the purpose of having a rich text box disbaled/readonly is to be able to view the rich text that is coming from the DB and which was previously edited with a rich text box..
0
Jonisan
Top achievements
Rank 1
answered on 28 Feb 2012, 12:10 PM
Hi ,, I need to know if this has a solution now , Ca I make it read-only or disable ?
0
Nadisan
Top achievements
Rank 2
answered on 05 Apr 2012, 09:24 AM
I am also interested if we can make the editor readonly or disabled.
0
ScopiaRx_CTO
Top achievements
Rank 1
answered on 15 Sep 2012, 02:58 AM
Just use an IFRAME instead.