Validate Datagrid in edit or add (in footer)

T

Tamir Kamara

Hi,

I have a datagrid that I can edit and insert new rows (with the footer). I
have only one textbox in the edit template and in the footer template. I
also have a required field validator and a custom validator to prevent
duplicate values.
The problem is that when I call the page.validate after editing a row, the
requiredfield in the footer also fires and comes back with an error.
how can I separate it so only the edit / insert controls fires at a given
time?
 

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,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top