RadGridView SortDescriptor Returns Collection of ColumnSortDescriptor rather than Collection of SortDescriptor

Thread is closed for posting
2 posts, 0 answers
  1. Sanket Singhvi
    Sanket Singhvi avatar
    20 posts
    Member since:
    May 2010

    Posted 17 Jan 2011 Link to this post


    RadControls version

    .NET version

    Visual Studio version

    programming language

    browser support

    all browsers supported by RadControls

    Well when I open my application RadGridView SortDescriptors returns collection of SortDescriptors. After that click on any column to sort the RadGridView. then close application and then I am calling a function which loop thru SortDescriptor to save the setting of the columns but it returns Collection of ColumnSortDescriptor and causing exception....

  2. Maya
    Maya avatar
    4062 posts

    Posted 18 Jan 2011 Link to this post

    Hello Sanket Singhvi,

    Since Q3 2010, RadGridView adds and removes ColumnSortDescriptors in the SortDescriptors collection. You may take a look at our demo for the most recent version of the code required for saving and loading the grid's settings.

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.