Rich text box control issues

B

Brett

I have a requirement to allow input of content not allowing formatting with
the exception of adding superscript and to highlight the text. So I am not
able to use the generic text box control and the rich text boxes will require
so much code to handle stripping out all formatting except for the 2 items
above. I have had issues catching embedded tags from content pasted into the
boxes.

Are there any third party contols that can be added which allows for very
granular control over text boxes, or is there something in the MS rich text
box allowing for that kind of control that I may have missed?

Any help is greatly appreciated.
Brett
 
B

Brian Teutsch [MSFT]

There is nothing in the control to help you do this. You could use an
OnAfterChange event on the rich text field and parse the HTML yourself to
remove all offtending tags. That will potentially slow down editing for your
users, but will catch pasted tags.

Don't think there's anything out there either as a third-party control.

Brian
 
Top