Hi,
For some reason, when a user clears text from a radeditor, the editor actually contains a "<p> </p>" when the form is posted.
To be clear: a user opens a web page with a radeditor and there is "Some text" in the control. The user clicks in the control and clears out all the text. To the user, the box looks clear. When the form is posted, we have some javascript that checks the control to validate the text. What it is finding is "<p> </p>" while I would expect to find "".
How can we correct this behavior?
Here is the text of my control:
For some reason, when a user clears text from a radeditor, the editor actually contains a "<p> </p>" when the form is posted.
To be clear: a user opens a web page with a radeditor and there is "Some text" in the control. The user clicks in the control and clears out all the text. To the user, the box looks clear. When the form is posted, we have some javascript that checks the control to validate the text. What it is finding is "<p> </p>" while I would expect to find "".
How can we correct this behavior?
Here is the text of my control:
<telerik:RadEditor ID="txtBookmark" runat="server" Height="70px"
Width="415px" OnClientLoad="SetCorrectSize" EditModes="Design" EnableResize="False" Skin="Office2007"> <Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="AjaxSpellCheck" />
</telerik:EditorToolGroup>
</Tools>
</telerik:RadEditor>
Thanks!
Rich
