|
Using a Validator
r.a.d.editor will usually be
used as a replacement for the regular TextBox Control.
Since
the form content will most likely go to a database or an XML file, the SaveInFile
property of the editor must be set to false, so
that the editor does not attempt to save directly within the ASPX/ASCX
file.
You will
usually want to set ShowHtmlMode="False" as
well.
The editor has support for Validators and there
is a <asp:requiredfieldvalidator> attached to the
editor.
Important Properties: SaveInFile="False",
ShowHtmlMode="False".
|