I have a RadGrid with Auto Insert/Update/Delete on using EditForm mode. I want to add a compare validator between a field called lowvalue and highvalue. What is the best way to do this.
lowvalue and highvalue I am using GridNumericColumn.
I am at a crunch in the project so I will take the easiet approach client/server side doesn't matter, I just need to make sure the low value is less than or equal to the high value if the high value is not null or empty
and the high value is greater than or equal to the low value if the low value is not null or empty. If the validation fails I need to display an error message in the EditMode of the form and prevent the insert/update.
Note: If you suggest using an ItemTemplate or EditTemplate please also provide a complete reference and/or demo. I have been trying to research the EditTemplate but I have not found any good tutorials. I am a total novice at the ItemTemplate/EditTemplate approach.
lowvalue and highvalue I am using GridNumericColumn.
I am at a crunch in the project so I will take the easiet approach client/server side doesn't matter, I just need to make sure the low value is less than or equal to the high value if the high value is not null or empty
and the high value is greater than or equal to the low value if the low value is not null or empty. If the validation fails I need to display an error message in the EditMode of the form and prevent the insert/update.
Note: If you suggest using an ItemTemplate or EditTemplate please also provide a complete reference and/or demo. I have been trying to research the EditTemplate but I have not found any good tutorials. I am a total novice at the ItemTemplate/EditTemplate approach.