Hi,
I have a grid on a usercontrol, which is called from a content page. The grid is created using the GridColumn Collection Editor, and contains two columns, a GridClientSelectColumn, and a GridBoundColumn which is of datatype System.Int32. I have enabled filtering and the AllowFilteringByColumn is True.
I also have a list : List<Int32> valueList = new List<Int32> , which is populated.
In my RadGrid1.NeedDataSource I assign RadGrid1.DataSource = valueList.
The problem is that when the usercontrol is loaded, and I enter a value in the filter box, and select any option (such as equal to), the grid is not filtered. I have debugged and the NeedDataSource is called after the filter option is selected.
Anyone have any idea what I am doing wrong?
I have a grid on a usercontrol, which is called from a content page. The grid is created using the GridColumn Collection Editor, and contains two columns, a GridClientSelectColumn, and a GridBoundColumn which is of datatype System.Int32. I have enabled filtering and the AllowFilteringByColumn is True.
I also have a list : List<Int32> valueList = new List<Int32> , which is populated.
In my RadGrid1.NeedDataSource I assign RadGrid1.DataSource = valueList.
The problem is that when the usercontrol is loaded, and I enter a value in the filter box, and select any option (such as equal to), the grid is not filtered. I have debugged and the NeedDataSource is called after the filter option is selected.
Anyone have any idea what I am doing wrong?