I have placed a text box control and I have to write validation rule for it.
But the problem is I have bound a collection to the grid view and I have declared only two columns
one for binding Name
other for value [data template changes depending on property] so I have overridden selecttemplate method . Based on the item input I have choosen the datatemplate.
Now if write a validation rule for text box ,it applies for all the text boxes in grid.The rule should be individual for each textbox
Can you help me resolving the issue.