问题
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:
- Wrap the control in your own control.
- Publish an Enabled property on your control.
- Publish a Value property. Manage the state for both of these properties yourself.
- If Enabled = true at the time of render, then delegate to the underlying FCKEditor control.
- 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