Hi,
I have a Grid on a page, which contans a list of security gropus for my system. Some ot the groups are system groups and can not be altered. Each group have a bool GroupIsSystem group, placed in a column in the grid.
I would like to be able to hide the "Edit" command button on rows where column "GroupIsSystemGroup" is true, and show the edit button on opposite rows.
I know how to hook into ItemDataBound event, to do conditional formatting of my DataItem, I just cant figure out how to get to the row instance of the "Edit" button and set it to Visible = false.
Sincerely....
Jesper Laustsen
I have a Grid on a page, which contans a list of security gropus for my system. Some ot the groups are system groups and can not be altered. Each group have a bool GroupIsSystem group, placed in a column in the grid.
I would like to be able to hide the "Edit" command button on rows where column "GroupIsSystemGroup" is true, and show the edit button on opposite rows.
I know how to hook into ItemDataBound event, to do conditional formatting of my DataItem, I just cant figure out how to get to the row instance of the "Edit" button and set it to Visible = false.
Sincerely....
Jesper Laustsen