RadGridView SortDescriptor Returns Collection of ColumnSortDescriptor rather than Collection of SortDescriptor

2 posts, 0 answers
  1. Sanket Singhvi
    Sanket Singhvi avatar
    20 posts
    Member since:
    May 2010

    Posted 17 Jan 2011 Link to this post

    Requirements

    RadControls version

    .NET version

    Visual Studio version

    programming language

    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    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....

    Regards
    Sanket
  2. Maya
    Admin
    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.

    Greetings,
    Maya
    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