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

Possible to filter Data Source bound to XML?

4 Answers 85 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 25 Nov 2011, 01:05 AM
I'm trying to apply a filter to a Data Source that is bound to XML. Everything works fine with everything else and all works as expected - all but filtering.

Too simplify things posting, if you look at the xml-data.html sample in the Data Source folder, how would you apply a filter to search for any book that contains 'CSS3' on the Title XML element? I've added server filtering to the Data Source.

Is it possible to filter with a XML scheme?

4 Answers, 1 is accepted

Sort by
0
Gabriel
Top achievements
Rank 1
answered on 26 Nov 2011, 02:10 AM
No takers?
0
Atanas Korchev
Telerik team
answered on 28 Nov 2011, 08:48 AM
Hello Gabriel,

 Since you have added server filtering you need to implement the filtering server-side (that's what server filtering means). I have shown you in another post one way to translate the filter expression in a way which the server side code can understand.

All the best,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gabriel
Top achievements
Rank 1
answered on 28 Nov 2011, 09:37 PM
Thanks for the reply.

I can get server filtering to work when not using XML and the server end is fine as it works. With Kendo, do I specify the XML element name for the field in the filter expressions?
0
Atanas Korchev
Telerik team
answered on 29 Nov 2011, 08:30 AM
Hi Gabriel,

 How is the server-side XML filtering implemented? You can try passing the element name if this would help suit server-side implementation.

Best wishes,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
Gabriel
Top achievements
Rank 1
Answers by
Gabriel
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or