1825
RequiredFieldValidator not working on NumericEditorProvider or DatePickerProvider as Grid Editor Providers on a WebdataGrid
posted

I have a RequiredFieldValidator:

<asp:RequiredFieldValidator ID="RequiredFieldValidator" runat="server" ErrorMessage="Required" ControlToValidate="grid" CssClass="Validate"></asp:RequiredFieldValidator>


I have selected the validator on four different columns, but it only seems to work on the column that is using the TextBoxProvider.

 <ig:CellEditing>
<ColumnSettings>
<ig:EditingColumnSetting ColumnKey="DOS" EditorID="grid_DatePickerProvider" ValidatorID="RequiredFieldValidator" />
<ig:EditingColumnSetting ColumnKey="BMI" ValidatorID="RequiredFieldValidator" EditorID="grid_NumericEditorProvider_Decimal2" />
<ig:EditingColumnSetting ColumnKey="Weight_in_Lbs" ValidatorID="RequiredFieldValidator" EditorID="grid_NumericEditorProvider_Decimal1" />
<ig:EditingColumnSetting ColumnKey="Comment" ValidatorID="RequiredFieldValidator" EditorID="grid_TextBoxProvider" />
</ColumnSettings>
</ig:CellEditing>


Any ideas why it might not be working?