I have a DataList with an ItemTemplate containing a TextBox (txtQuantity) and a button ("btnUpdateQuantity") corresponding to a database of products. Each page of the datalist contains 6 fields (RepeatColumns="3" RepeatDirection="Horizontal", PagedDataSource.PageSize = 6;). I've added a RequiredFieldValidator to the TextBox. I would like the validator to validate only the textbox found within the same field as the button pressed as opposed to all the textboxes in the DataList. How would I do that?
Thanks.
Eitan
...
Go to the complete details ...