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

[Solved] Filtering in grid not working

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cristian Archilla
Top achievements
Rank 1
Cristian Archilla asked on 23 Jul 2009, 08:17 PM
Hello,

I am developing a page with telerik RadGrid and the filtering feature is not working. I enable the filtering at grid an table level but it just execute the rebind action without filtering.

To fill the table I am using the NeedDataSource mode. What I am not sure is if the data stay attached to the GridItem and if that could be the problem.

This is the event that just get the DataSource from a service connecting to a DAO:

    protected void MaterialsGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e) 
    { 
        MaterialsGrid.DataSource = orderService.GetSalesOrderItemsBySector(SessionService.CurrentSectors); 
    } 
 

I am also using a Template column with particular behaeviour but I am not enableing filter on this column.

Thanks,
Cristian.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 28 Jul 2009, 11:10 AM
Hi Cristian,

The code shown looks correct.
However, based on the supplied information, it is hard to determine what is causing the unwanted behavior. To further track the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating the unwanted behavior.
We will review it locally, and advise you further.

Regards,
Yavor
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
Cristian Archilla
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or