Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Help with validation on datagrid control based on value of another control

Last post 11-08-2005, 3:03 PM by SBK. 0 replies.
Sort Posts: Previous Next
  •  11-08-2005, 3:03 PM 13657

    Help with validation on datagrid control based on value of another control

    Can anyone tell me how to set up a validator on a control for each row of a datagrid that is dependent on the values of another control on the row.  For example, I want to ensure that a textbox on the datagrid row is blank if a particular item of a dropdown list on the row has been selected.

    I have read articles that explain how to use a customvalidator to reference other controls on a page, but I don't know how to get this to work for each row on a datagrid.
    I'm very new to all of this, so the answer may be simple.

     

View as RSS news feed in XML