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

[Solved] Search as You Type + Prism

1 Answer 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sam
Top achievements
Rank 1
Sam asked on 09 Mar 2010, 05:58 PM
Hi There,

I am looking to use the gridview and prism together.  I need to implement the search as you type functionality found in the telerik demo site.

The CustomFilterDescriptor constructor expects the columns, but since I am doing this all through xaml I am not quite sure how to initialize it with the columns.  

Hoping to find a work around, I declared a constructor with no parameters but got stuck on binding to the FilterValue to an element or to a property in the model. I keep getting "The given key was not present in the dictionary." 

<telerikGrid:RadGridView.FilterDescriptors> 
   <controls:CustomFilterDescriptor FilterValue={Binding Path=SearchValue}></controls:CustomFilterDescriptor> 
</telerikGrid:RadGridView.FilterDescriptors> 

Any help is much appreciated.

Sam

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan Dobrev
Telerik team
answered on 11 Mar 2010, 12:52 PM
Hello Sam,

You can look at this blog post, which illustrates how to achieve search as you type that can work for your case.

Kind regards,
Stefan Dobrev
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.
Tags
GridView
Asked by
Sam
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or