Server-side validation on Column change

H

Hardik Shah

Hi,

How can I go about performing server-side validation when tabbing out
of the column of a grid? I am trying to use a Custom Validator for
this purpose, attached to the concerned column, but it only fires when
I submit my page. Is there another approach I should take?

TIA!
Hardik
 
S

Saravana

Have your datagrid column as template column. In the template column have
textbox and set its autopostback property to true. Then your validation will
fire whenever you tab out the column. But it will do the postback also,
whenever you tabout of a column in your datagrid.
 
H

Hardik Shah

Thanks! I was actually trying to find a way to do a server-side
validation without doing a postback of the entire page.

Thanks,
Hardik
 

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

No members online now.

Forum statistics

Threads
474,139
Messages
2,570,806
Members
47,352
Latest member
Maricruz09

Latest Threads

Top