Possible to put ValidationsGroup's on GridView AND FormView?
Posted on 2006-07-17
Hello - I worked up a page, with one <form> and one DataSource, that has a GridView to do update's and delete's, and then a FormView below that to do insert's. Everything was working as expected.
Then I added validation controls to each control on the FormView that needed one, and a ValidationSummary control to group them together. Still working fine.
Then I went back and added a ValidationGroup attribute to each validation control, and the LinkButton that triggers the insert. Now when I click that LinkButton, nothing happens at all.
I tried adding the same ValidationGroup attribute to the data controls also; still no help
I checked the LinkButton; CausesValidation is set to True
I took all the ValidationGroup attributes back out, and it works fine again.
Any ideas what I'm doing wrong?