Dear All,
In my application i want to add validation in insert and Update for some fields. Please let me know how to add validations in the grid. Also I have found the following code in the internet which is not working for me.
In the above code snippet i am getting an error that the ColumnValidationSettings is not supported. Please help me.
In my application i want to add validation in insert and Update for some fields. Please let me know how to add validations in the grid. Also I have found the following code in the internet which is not working for me.
<telerik:GridBoundColumn DataField="ShipName" HeaderText="ShipName" UniqueName="ShipName"> <ColumnValidationSettings EnableRequiredFieldValidation="true" EnableModelErrorMessageValidation="true"> <RequiredFieldValidator ForeColor="Red" ErrorMessage="This field is required"></RequiredFieldValidator> <ModelErrorMessage BackColor="Red" /> </ColumnValidationSettings> </telerik:GridBoundColumn>
In the above code snippet i am getting an error that the ColumnValidationSettings is not supported. Please help me.