0

I'm using the HtmlEditorExtender component from AjaxToolKit and I'm having some trouble.

I'm trying set the HtmlEditorExtender as ReadOnly but I can't find a way to do it.

Setting the TextBox associated with the HtmlEditorExtender as ReadOnly = true or Enabled = false is not working.

Any ideas?

dcidral
  • 227
  • 3
  • 16

1 Answers1

2

HtmlEditorExtender uses div with contenteditable='true' attribute, so the question can be rephrased as "How to make a contenteditable div read-only?"

There are some answers for that, like here and here.

Community
  • 1
  • 1