Custom Validator inside datagrid

N

Niclas

Hi,

I would like to use the custom validator control to validate a textbox in a
Item template within a datagrid. The post is done by the user clicking a
ImageButton within another Template column in the same grid. My problem is
how to determine what row the imagebutton clicked was at to retrieve a
reference to the textbox I want to validate the data in. I was hoping to
capture this in the Item_Command event, but the validation seem to occur
before this event is run

Does anyone have a sample to how this should be done ?

Niclas
 

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
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top