AngryHacker
AngryHacker

Reputation: 61616

How do I set the FCKEditor to be readonly?

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?

Upvotes: 2

Views: 2210

Answers (2)

Glenn
Glenn

Reputation: 8032

  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.

Upvotes: 2

Dimi Takis
Dimi Takis

Reputation: 4949

Here is I think the answer for your problem

Upvotes: 0

Related Questions