hello
I needed some custom filter controls. So I created my own column-class:
and created my own filter-control:
Everything worked as expected, but: No more events are thrown. No ItemCommand, no RadToolBar1_ButtonClick.
What can I do?
thanks
Ralph
I needed some custom filter controls. So I created my own column-class:
public class GridColBound : GridBoundColumn
and created my own filter-control:
protected override void SetupFilterControls(TableCell cell)
{
base.SetupFilterControls(cell);
cell.Controls.RemoveAt(0);
Label _lbl = new Label();
_lbl.ID = "FilterLabel" + this.DataField;
_lbl.Visible = true;
_lbl.Text = "Filter";
_lbl.BackColor = System.Drawing.Color.Green;
_lbl.ForeColor = System.Drawing.Color.White;
_lbl.BorderColor = System.Drawing.Color.Black;
_lbl.BorderStyle = BorderStyle.Solid;
cell.Controls.AddAt(0, _lbl);
cell.Controls.RemoveAt(1);
}
...
Everything worked as expected, but: No more events are thrown. No ItemCommand, no RadToolBar1_ButtonClick.
What can I do?
thanks
Ralph