This is a migrated thread and some comments may be shown as answers.

[Solved] Filtering problem on UserControl Grid

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sue MacDonald
Top achievements
Rank 1
Sue MacDonald asked on 06 Aug 2009, 04:00 PM
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?

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 11 Aug 2009, 11:36 AM
Hi Sue,

Testing under the described conditions does not reproduce anything wrong. Do you think you can provide us some sample code can test to see what's wrong. RadGrid's definition and databinding logic should be enough for us to reproduce this.

Sincerely yours,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Sue MacDonald
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or