In my RowAdding I have a validator setup with a date picker. How do I get the validator to fire the event ClientValidationFunction? I am pretty sure I have it setup correctly. But when I add the new row, it does not stop me if I am missing a date.
<EditorProviders>
<ig:DatePickerProvider ID="editorDtpAutoDate"/>
</EditorProviders>
<ig:RowAdding Alignment="Top" Enabled="true">
<ColumnSettings>
<ig:RowAddingColumnSetting ColumnKey="colKeyAutoDate" EditorID="editorDtpAutoDate" ValidatorID="rfvEditorAutoDate"/>
</ColumnSettings>
.
<asp:CustomValidator ID="rfvEditorAutoDate" runat="server" ClientValidationFunction="CheckAutoDate"CssClass="validationControl" Display="Dynamic" ControlToValidate="grdAuto"ErrorMessage="A Date is Required." Font-Bold="True" Font-Size="Large" text="*" ValidateEmptyText="True"/>
Hello Abby,
I am following to see if this matter has been resolved. If this isn’t the case please provide me with an isolated sample and the answers to my questions.
Please let me know if I may be of further assistance with this matter.
Thank you for contacting Infragistics. I am attaching a sample to this case that demonstrate how you can use the custom validator with the WebDataGrid. When I click off of the cell/add new row cell that has the WebDatePicker the validation function fires. Note I have removed the ig_res folder for file size to attach to the forms. What version of NetAdvantage are you using? What service release for that version are you using? What happens when you run my sample?