Hi,
I've a Checkbox, with a custom validator:
The RadButton is here:
The JavaScript validation looks like this:
(datenschutzCheckboxId is defined)
Clicking on the button in IE calls the validation function. Firefox, however, does not.
Is this a known problem, or did I make a mistake?
Thank you
René
I've a Checkbox, with a custom validator:
<asp:CheckBox ID="Datenschutz" runat="server" /><asp:CustomValidator ClientValidationFunction="ValidateDatenschutz" runat="server" ID="DatenschutzValidator" CssClass="..." ErrorMessage="<br/>..." /><telerik:RadButton ID="Submit" runat="server" Text="Speichern" OnClick="OnSubmitClick" CausesValidation="true" />The JavaScript validation looks like this:
function ValidateDatenschutz(sender, eventArgs) { eventArgs.IsValid = document.all[datenschutzCheckboxId].checked;}Clicking on the button in IE calls the validation function. Firefox, however, does not.
Is this a known problem, or did I make a mistake?
Thank you
René