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

[Solved] Extract Sort, Group and FilterDescriptor as string expression

1 Answer 132 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.
Stefan Buys
Top achievements
Rank 2
Stefan Buys asked on 15 Feb 2011, 03:06 PM
Hi,

I have a requirement to extract a RadGridView's Sort, Group and FilterDescriptor as a string expression. It needs to be displayed in the header of the file when the user exports the data to Excel/Word. In the good old days of ADO.NET, one could use the RowFilter property of the DataView.

Is there such a property available? If not, does anyone know of a parser?

Thanks,
Stefan


1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Feb 2011, 03:11 PM
Hi Stefan,

 You can use the approach I've used in this blog post:
http://blogs.telerik.com/vladimirenchev/posts/10-01-14/how_to_server_sorting_filtering_grouping_and_paging_with_radgridview_for_silverlight_without_wcf_ria_services.aspx

Please check DescriptorsExtensions.cs for more info. 

Regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Stefan Buys
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or