Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello.
i am using a CKEDITOR .when i set :
C#
myTextEditor.Text = dt.Rows[0].ItemArray[2].ToString();

user can edit input text in CKEDITOR.
can i set that on read only ?
Posted

See this post[^] on the CKEditor site ... usually the best place to start if you have a query about CKEditor
 
Share this answer
 
Comments
mor kan 11-Jul-14 11:03am    
i do not see any code on the link . please example for me.
ZurdoDev 11-Jul-14 13:51pm    
click the setReadOnly link.
ZurdoDev 11-Jul-14 13:52pm    
+5
my Problem is don,t run my java script code in masterpage/contentpage.
i used master page in my web project.
by this code in code-behind remove toolbar but my text show simple :
C#
myTextEditor.RemovePlugins = "toolbar";

if my javascrip code run don,t problem but , don,t work.
for example this code don,t work:
JavaScript
$(document).ready(function () {
 alert("any think");
 });
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900