How to Change the Sorting in code behind 2016 r3 silverlight

1 posts, 0 answers
  1. M
    M avatar
    22 posts
    Member since:
    Mar 2012

    Posted 04 Apr 2018 Link to this post

    I want change or set a new sorting in telerik reporting 2016 r3 in code behind.I am using silverlight.

    I cannot to update or set the new sorting. It does not work?

    I tried to use below code in need_datasource (before or after datasource assignning) but does not effect.

    Telerik.Reporting.Sorting sorting1 = new Telerik.Reporting.Sorting();

    sorting1.Expression = "=Fields.MyField";

    sorting1.Direction = Telerik.Reporting.SortDirection.Asc;;

     or by direct assigning : instance with new expression and direction);

    Does not work!




Back to Top