two grids with validators

L

latha

Hi
I have two datagrids (master - detail) in one page and I have required field
validators for both the grids template columns.
My problem is if click on the add buton in the footer of details grid, it is
also firing required field validation in the master grid which is not valid.
How can prevent the databind of parent grid on clicking the add button of
detail grid so that master validators will not fire.

Thanks
--
 
B

Brock Allen

This is a limitation in validation in 1.1. In ASP.NET 2.0 they've addressed
this problem with ValidationGroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top