I have a form that contains a GridView that lists and modifies, and a DetailsView that inserts new rows into a database table. I assigned RequiredFieldValidators to all the fields of the DetailsView. From that time on editing a row in the GridView doesn't work because the validators prevent me from applying the updates.
How can they be disabled during the updating? They can't be accessed by ID, because they are inside an <InsertItemTemplate>. Is there an elegant solution?