Hello,
I have a Grid with MasterTable and DetailTable and I create all columns on code behind.
At first, I delete all existing Columns and add all needed columns.
My fist column shoud be the ExpandCollapse-column. Here the c# code:
I have a Grid with MasterTable and DetailTable and I create all columns on code behind.
At first, I delete all existing Columns and add all needed columns.
My fist column shoud be the ExpandCollapse-column. Here the c# code:
| GridExpandColumn oEC = new GridExpandColumn(); |
| oEC.ButtonType = GridExpandColumnType.SpriteButton; |
| oEC.CommandName = "ExpandCollapse"; |
| oEC.UniqueName = "ExpandCollapse"; |
| oEC.ItemStyle.Width = Unit.Pixel(20); |
| oEC.HeaderStyle.Width = Unit.Pixel(20); |
| oEC.FooterStyle.Width = Unit.Pixel(20); |
| oEC.Display = true; |
| oEC.Visible = true; |
| this.RadGridDistribution.Columns.Add(oEC); |
My problem is, I get no bostback by clicking.
I hope, anybody can give me a tip.
Detlef!