Hi,
I got problem with asp:RequiredFieldValidator for RadEditor, but this only happen in IE (I'm using IE 9).
This is my code :
The validator doesn't work.
It seems like the ID "txtBody" is not attributed to the RadEditor. But I'm not sure.
Can you help me?
Regards,
Pungkas
I got problem with asp:RequiredFieldValidator for RadEditor, but this only happen in IE (I'm using IE 9).
This is my code :
<telerik:RadEditor EditModes="Design" Height="250" Width="700" ID="txtBody" runat="server" ToolsFile="~/RadEditorTool.xml" Content='<%# Bind("Body") %>'> <CssFiles> <telerik:EditorCssFile Value="~/Styles/EditorContentArea.css" /> </CssFiles></telerik:RadEditor><asp:RequiredFieldValidator ID="reqtxtBody" runat="server" ControlToValidate="txtBody" CssClass="FieldValidator" ErrorMessage="Body has to be set" ValidationGroup="save"> <asp:Image ID="Image3" runat="server" AlternateText="error" ImageUrl="~/Images/exclamation12x12.gif" Width="12" Height="12" /></asp:RequiredFieldValidator>The validator doesn't work.
It seems like the ID "txtBody" is not attributed to the RadEditor. But I'm not sure.
Can you help me?
Regards,
Pungkas