I would like to Hide/Show a group footer based on a condition.
I have tried to add code like this:
grid.MasterTableView.ShowGroupFooter = bSomeState; // boolean true/false value
I've tried adding that to the OnDataBound event, to the PageLoad event, to the Page PreRender event. But nothing works.
For example, lets say that there is no declarative markup added to the grid, so the default for ShowGroupFooter is false. Then I added a
grid.MasterTableView.ShowGroupFooter = true
statement in various places in the codebehind. The group footer is never shown.
Is there a solution here?