This question is locked. New answers and comments are not allowed.
Rick Mueller
Top achievements
Rank 1
Rick Mueller
asked on 10 Dec 2010, 07:19 PM
Hello,
Following your Demo, I was able to get it to work, Then I put the Grid into its own view.
It doesn't see (this.CustomFilterDescriptor.FilterValue).
This is the set-up, trying to follow MVVM much as I can.
I have the grid on a page that populates in a frame in the mainwindow. I have the CustomFilterDescriptor.cs in the Model folder.
The Grid is in its own view in the View Folder and its populate by WCF service.
This is my usages in the code behind for my gridview.
It errors telling me need a missing reference?
What I'm missing?
Thanks Rick
Following your Demo, I was able to get it to work, Then I put the Grid into its own view.
It doesn't see (this.CustomFilterDescriptor.FilterValue).
This is the set-up, trying to follow MVVM much as I can.
I have the grid on a page that populates in a frame in the mainwindow. I have the CustomFilterDescriptor.cs in the Model folder.
The Grid is in its own view in the View Folder and its populate by WCF service.
using RadControlsSilverlightApp7.MyService; using System; using System.IO; using System.IO.IsolatedStorage; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Imaging; using System.Windows.Input; using Telerik.Windows.Controls; using RadControlsSilverlightApp7.Model; using System.Linq; using Telerik.Windows.Data;It errors telling me need a missing reference?
What I'm missing?
Thanks Rick
7 Answers, 1 is accepted
0
Hello Rick,
Vlad
the Telerik team
Can you post the error?
Kind regards,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Rick Mueller
Top achievements
Rank 1
answered on 13 Dec 2010, 04:30 PM
Hello,
The error is on:
Error:
RadControlsSilverlightApp7.EmployeeView does not contain a definition for "CustomFilterDescriptor" and no no extension method.
CustomFilterDesscriptor accepting a first Argument of type RadControlsSilverlightApp7.EmployeeView could not be fould(are you missing a using directive or an assembly reference..
Thoughts?
Rick
The error is on:
this.CustomFilterDescriptor.FilterValue = this.textBoxFilterValue.Text;Error:
RadControlsSilverlightApp7.EmployeeView does not contain a definition for "CustomFilterDescriptor" and no no extension method.
CustomFilterDesscriptor accepting a first Argument of type RadControlsSilverlightApp7.EmployeeView could not be fould(are you missing a using directive or an assembly reference..
Thoughts?
Rick
0
Hi ,
Vlad
the Telerik team
Can you verify once again if this class (CustomFilterDescriptor.cs) is added in your project and you have the necessary using declaration?
All the best,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Rick Mueller
Top achievements
Rank 1
answered on 15 Dec 2010, 03:49 PM
Hello,
I figure out the declarations,,But Its really sticky and don't filter. Acouple hurdles,
1. I have the grid populated by WCF,,It shouldn't matter
2. After the grids loaded I fire a event to select the first row.
So when I type in the searchbox the data_loaded event fires, So I know I'm able to reach the grid, but again it doesn't filter.
it just selects the first row.
Note: It was like this before I added the data_loaded event.
Thoughts
Rick
I figure out the declarations,,But Its really sticky and don't filter. Acouple hurdles,
1. I have the grid populated by WCF,,It shouldn't matter
2. After the grids loaded I fire a event to select the first row.
So when I type in the searchbox the data_loaded event fires, So I know I'm able to reach the grid, but again it doesn't filter.
it just selects the first row.
Note: It was like this before I added the data_loaded event.
Thoughts
Rick
0
Hello,
Vlad
the Telerik team
What kind of collection you are using to bind the grid in your case? Can you verify if the standard grid filtering will work normally?
Best wishes,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Rick Mueller
Top achievements
Rank 1
answered on 20 Dec 2010, 04:38 PM
VLAD,
The standard grid filtering works great. The binding is basic WCF, I do have a images in a column and I have a couple columns hidden.
But that shouldn't make difference.
Rick
The standard grid filtering works great. The binding is basic WCF, I do have a images in a column and I have a couple columns hidden.
But that shouldn't make difference.
Rick
0
Hi,
Vlad
the Telerik team
Can you send us this project to check it locally what is going on?
Kind regards,Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
