views:

26

answers:

0

Pretty much the title says it all.

I have a TextBox in a TemplateField in a GridView that is supposed to show a checkmark after its TextChanged event.

I also made the GridView row selectable. If I select a row, the entire GridView rebinds and fires the TextChanged event for all TextBoxes in the GridView. This, of course, displays all the checkmarks.

I don't want to display the checkmarks on any rows the user did not change. I think the best way to do this is to prevent (unattach?) the TextChanged event unless the user changes the text value.

Any suggestions?