This question is locked. New answers and comments are not allowed.
Hi,
I am using RadGridView . when i open fileter option in Gridview it opens with Filter conditin as "Is equal to" . But i need to set default filter conditin as "Contains".
Thanks
I am using RadGridView . when i open fileter option in Gridview it opens with Filter conditin as "Is equal to" . But i need to set default filter conditin as "Contains".
Thanks
3 Answers, 1 is accepted
0
Hi kannan,
For extensive information on changing FilteringControl operator's default value check this thread, please. Do not hesitate to contact us immediately if you have any further inquiries.
Kind regards,
Ivan Ivanov
the Telerik team
For extensive information on changing FilteringControl operator's default value check this thread, please. Do not hesitate to contact us immediately if you have any further inquiries.
Kind regards,
Ivan Ivanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
kannan
Top achievements
Rank 1
answered on 13 Apr 2011, 03:11 PM
Hi Ivan Ivanov ,
Thanks.i can able to set filter condition "Contains" through code behind. But in designer view i am getting an error.
I am confusing with below codes
Thanks.i can able to set filter condition "Contains" through code behind. But in designer view i am getting an error.
I am confusing with below codes
<my:MyViewModel x:Key="MyViewModel"/>
where you have used the MyViewModel .
i have added the <my:MyFilteringControl x:Key="MyViewModel"/>
then i have added the DataContext="{StaticResource MyViewModel}" in Grid . I am binding the Radgridview with DomainDatasource. so after that i am getting an Error "cannot convert FilteringViewModel to DomainDatasource"
or Is it possible to set the filter condition through code behind without assigning the column position like
var nameColumn = (GridViewBoundColumnBase)this.clubsGrid.Columns[0];
Thanks
0
Hello kannan,
I have prepared a sample project for you, utilizing the source code from the forum article. Please, refer to it and inform us if this approach meets your requirements.
Best wishes,
Ivan Ivanov
the Telerik team
I have prepared a sample project for you, utilizing the source code from the forum article. Please, refer to it and inform us if this approach meets your requirements.
Best wishes,
Ivan Ivanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items