telerik:RadGrid Dynamic column sorting not working

2 posts, 0 answers
  1. harry
    harry avatar
    1 posts
    Member since:
    Jul 2016

    Posted 06 Jul 2016 Link to this post


    We are facing problem for column sorting in RadGrid. We are adding columns dynamically to grid. and values are set in Itemdata bound event.

    can anyone help and provide suggestion on this? so that grid column sorting works on these dynamic generated columns once the data is loaded or bound in Itemdatabound.






  2. umesh
    umesh avatar
    3 posts
    Member since:
    Jul 2016

    Posted 07 Jul 2016 in reply to harry Link to this post

    have you called rebind() method at end of sorting?

     Dim srtExp As New Telerik.WebControls.GridSortExpression
            srtExp.FieldName =fieldname  'columnname

Back to Top