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

How to get client-side SortExpressions and FilterExpression on post-back?

0 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike Chabot
Top achievements
Rank 1
Mike Chabot asked on 11 Jun 2012, 03:23 AM
I have a RadGrid that uses client-side data binding, sorting, and filtering. Exporting to Excel requires a postback because it does not work with client-side data binding. When a postback does occur any SortExpressions and FilterExpression on the MasterTableView are lost. The client-side get_sortExpressions() and get_filterExpressions() have values, but on the server-side RadGrid1.MasterTableView.FilterExpression is an empty string, and RadGrid1.MasterTableView.SortExpressions is an empty collection.

 

Should these expressions be available on the server-side after a postback, or is there some trick to getting these expressions to be sent back to the server? Thank you.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Mike Chabot
Top achievements
Rank 1
Share this question
or