Re: Asp.Net RequireFieldValidator and CE

  •  01-30-2004, 5:26 PM

    Re: Asp.Net RequireFieldValidator and CE

    BruceD,

     

    No, you don't need to disable client side script for validation.

     

    Below is the code used in our forum. Hope it helps. If not, please post your code here.

     

     

    <tr>

        <td vAlign="top" nowrap align="right">

            <span class="normalTextSmallBold">Message: </span>

        </td>

         <td vAlign="top" align="left">

             <CE:Editor id="PostBody" Height="250" AutoConfigure="EnableAll" runat="server" ></CE:Editor>

          </td>

          <td vAlign="top">

               <asp:requiredfieldvalidator

                           id="RequiredFieldValidator2"

                           runat="server"

                           CssClass="validationWarningSmall"

                           ErrorMessage="RequiredFieldValidator"

                           ControlToValidate="PostBody"

                           EnableClientScript="False">

               You must supply a message.

              </asp:requiredfieldvalidator>

        </td>

    </tr>

View Complete Thread