Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Custom Validator inside datagrid

Thread Tools

Custom Validator inside datagrid

Posts: n/a

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 ?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts Validator - creditCard validator Java 4 02-13-2007 08:32 PM
ClientValidationFunction function for a custom validator inside a repeater (ASPNET) Radu Javascript 0 01-26-2007 05:12 PM
Re: custom validator controls within a datagrid ASP .Net 0 12-28-2004 07:13 PM
How to get custom control to work with custom validator Scott Yenor ASP .Net Web Controls 0 01-27-2004 12:37 AM
Custom validator inside DataGrid Stephan Bour ASP .Net 1 01-16-2004 11:52 PM