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

Load from database record when filter changes

2 Answers 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kwaku
Top achievements
Rank 1
Kwaku asked on 15 May 2013, 05:18 PM
Hello,
I will like to load from the database the filter expressions and not just hide the rows.
I set custom filter to true but when I set the grid's datasource to the new results set, I get an error when I try to click a row or change the filter expression.

Is there a way I can load from the database when filter expression is changing without getting an error message from the gird?

Thank you

2 Answers, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 18 May 2013, 07:24 PM
Hello,

Could you be more specific on the matter you are doing things?

Are you clearing the filters and then setting the datasource on the grid and then reaplying filters?

Please expand on this and i will do my best to help.

Best Regards,
Emanuel Varga MVP
0
Peter
Telerik team
answered on 20 May 2013, 11:30 AM
Hello Kwaku,

Thank you for writing.

I would like to clarify that changing the DataSource in the FilterChanged/FilterChanging events is not supported out of the box from our RadGridView. 
As Emanuel mentioned, could you provide more details about your scenario?

Regards,
Peter
the Telerik team
RadChart for WinForms is obsolete. Now what?
Tags
GridView
Asked by
Kwaku
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Peter
Telerik team
Share this question
or