Hiding/Showing columns in grdiview, at run time, causing RowDataBound event firing
Ive got a gridview showing some totals at the footer of it. The totals are calculated in the RowDataBound event.
Depending on some conditions, Im showing or hiding some columns in the grid at run time. When this happens (showing or hiding) the RowDataBound event is triggering again causing the totals to calculate twice and showing double the amount.