I have a RadGrid with GridButtonColumn as follows:
but when the ItemCommand event fires, e=CommandName is an empty string...
What am I missing?
GridButtonColumn myCommandButton =
new
GridButtonColumn();
myCommandButton.ButtonType = GridButtonColumnType.PushButton;
myCommandButton.CommandName = "MyCommand";
myCommandButton.Text =
"MyCommand"
;
myGrid.Columns.Add(myCommandButton);
but when the ItemCommand event fires, e=CommandName is an empty string...
What am I missing?