Hi,
I have a Grid that includes 2 GridButtonColumns. One of the buttons is MoveUp and the other is MoveDown. I need to hide the MoveUp button for the first row and hide the MoveDown button for the last row.
Is there an example for hiding a GridButtonColumn in the codebehind?
Thanks Shinu,
I got it working based off your example. I wasn't using paging so the ItemEvent handler wasn't being called. Instead I just set _rowCount to the datasource.Count and included the following in my ItemDataBound: