G
Guest
I have a GridView using Template columns. In my EditItemTemplate I am using
CompareValidators to check data types. When validation fails, I would like to
change the border of the textbox in question.
I thought I could loop through the ValidatorCollection during the
RowUpdating event but couldn't get the reference to the textbox. When I made
an explicit reference to a textbox I got the message that this would need to
be done in the PreInit event. However, it failed there too.
Any ideas?
Thank you
CompareValidators to check data types. When validation fails, I would like to
change the border of the textbox in question.
I thought I could loop through the ValidatorCollection during the
RowUpdating event but couldn't get the reference to the textbox. When I made
an explicit reference to a textbox I got the message that this would need to
be done in the PreInit event. However, it failed there too.
Any ideas?
Thank you