Aug 12, 2011, 6:36 PM
RowEditor validation
Hi there,
I have a grid that uses RowEditor. While editing row data I need to validate the entry which is somewhat like this - suppose my grid got 3 columns. On submit, I need to validate that atleast column1 OR column2 are having value (not empty). If both of them are empty, I need to mark them as invaid (the way it is done with AllowBlank=False). What is the best practice to achieve this? Any example?
Thanks
I have a grid that uses RowEditor. While editing row data I need to validate the entry which is somewhat like this - suppose my grid got 3 columns. On submit, I need to validate that atleast column1 OR column2 are having value (not empty). If both of them are empty, I need to mark them as invaid (the way it is done with AllowBlank=False). What is the best practice to achieve this? Any example?
Thanks
Last edited by reezvi; Aug 12, 2011 at 6:38 PM.