hi DS,i have the same situation
i have a gridview with 6 cols, i need to validate col #3, so i used a
rangevalidator control, but the min and max range is different for each row,
so i need to change maxrange and minrange each time user select a row, i
converted the col #3 in Templatefield and then add a Rangevalidator to
validate its contents
but i dont know how to reference the control because its inside col#3 and
col#3 properties doesn't display any known control name (Rangevalidator)
"DS" <dsweatmanbellsouth.net> escribió en el mensaje
news:1132247813.756117.168800g43g2000cwa.googlegr oups.com...>I have a datagrid with several fields with textboxes and drop downs. I
> want to be able to validate the drop down field in one column to only
> be required if the textbox field in another column has data. Does
> anyone know how to do this?
> I tried to use the compare validator and the custom validator but can't
> figure out how to reference the control from the other column.
> Any help would be greatly appreciated.