How do I set the FCKEditor to be readonly?

我与影子孤独终老i 提交于 2019-12-11 00:26:31

问题


I am using FCKEditor ASP.NET control 2.65 in my WebForms application. How can I set it to be readonly (preferably from the serverside)?

I am not seeing either Enabled or Readonly properties.

Am I missing something really simple?


回答1:


  1. Wrap the control in your own control.
  2. Publish an Enabled property on your control.
  3. Publish a Value property. Manage the state for both of these properties yourself.
  4. If Enabled = true at the time of render, then delegate to the underlying FCKEditor control.
  5. Otherwise, take the Value and simply render it.



回答2:


Here is I think the answer for your problem



来源:https://stackoverflow.com/questions/2069886/how-do-i-set-the-fckeditor-to-be-readonly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!