This question is locked. New answers and comments are not allowed.
Hi,
I have a problem related to the RadGridView. I allow users to add a row to the grid view but want to allow them to cancel even if there are validation errors. The common situation would be for them to leave a required field blank when they click the cancel button. I don't use the RadButton (just the standard Button) and have add, save and cancel buttons. The add and cancel buttons are tied to their own click events while the save button is tied to a save command via the Command= property in the gridview. I have about 20 of these that are used to maintain database look up tables' contents.
The symptom is that a user clicks the add button which inserts a new row in the grid view and sets the focus on the first field which is required. If the user then tries to click the cancel button, the field is validated, highlighted in red and the cancel button click event never fires.
How do I get the cancel button to cancel even with invalid data?
Thanks,
Mike
I have a problem related to the RadGridView. I allow users to add a row to the grid view but want to allow them to cancel even if there are validation errors. The common situation would be for them to leave a required field blank when they click the cancel button. I don't use the RadButton (just the standard Button) and have add, save and cancel buttons. The add and cancel buttons are tied to their own click events while the save button is tied to a save command via the Command= property in the gridview. I have about 20 of these that are used to maintain database look up tables' contents.
The symptom is that a user clicks the add button which inserts a new row in the grid view and sets the focus on the first field which is required. If the user then tries to click the cancel button, the field is validated, highlighted in red and the cancel button click event never fires.
How do I get the cancel button to cancel even with invalid data?
Thanks,
Mike