Typing anything close to HTML into a RadTextBox seems to break it when it goes over the wire. I've tried escaping (encoding) it via javascript in the OnRequestStart, but that didn't seem to work... any ideas on the proper way to handle this (and without using a RadEditor).
1 Answer, 1 is accepted
0
Dimo
Telerik team
answered on 15 Jan 2010, 12:14 PM
Hi Xorcist,
The problem is caused by security restrictions in the ASP.NET framework and is not directly related to RadTextBox. Please refer to:
Since there is no good and proper way to intercept postbacks and change submitted values on the fly, I can suggest you to use some custom client event (e.g. a button click) and encode values before the actual submit action.
If you prefer using more hackish methods, here are two for you:
1. Override the WebForm_OnSubmit function, which handles all postbacks. For example