How to Get Column Index of a Row in GridView When a Footer Cell CheckBox Is Clicked
Posted on 2014-03-07
I have a GridView dynamically bind with database table. I use TemplateField to create a CheckBox in each column's footer. I added EventHandler when CheckedChanged for each CheckBox. When user clicks CheckBox, I want to change color of entire column. How do I get cell index when a CheckBox is clicked by user in CheckedChanged EvenHandler?