My page contains a RadGrid and two Validation Groups, one for the RadGrid (gridGroup) and one for the other page controls (pageGroup).
Initially I was unable to insert a record into the grid because the pageGroup validators would fire when I click insert, the page never even posted back.
I add to following code to the RadGrid:
I could then Insert a record into my grid without firing off the pageGroup validators.
I then tried to edit the record. I clicked edit and the row went into edit mode. I made a change and click update and no postback occured because the pageGroup validators were fired. If I filled in the fields associated with the pageGroup validators, effectivly turning the validators off, I am able to Update.
This occurs regardless of whether I designate CommandsToValidate or not.
Anyone have an idea what I'm missing?
Thanks,
Rob
Initially I was unable to insert a record into the grid because the pageGroup validators would fire when I click insert, the page never even posted back.
I add to following code to the RadGrid:
| <ValidationSettings EnableValidation="true" ValidationGroup="gridGroup" /> |
I could then Insert a record into my grid without firing off the pageGroup validators.
I then tried to edit the record. I clicked edit and the row went into edit mode. I made a change and click update and no postback occured because the pageGroup validators were fired. If I filled in the fields associated with the pageGroup validators, effectivly turning the validators off, I am able to Update.
This occurs regardless of whether I designate CommandsToValidate or not.
Anyone have an idea what I'm missing?
Thanks,
Rob