RadGridView SortDescriptor Returns Collection of ColumnSortDescriptor rather than Collection of SortDescriptor

Thread is closed for posting
2 posts, 0 answers
  1. F4AD5EA1-B1F9-4B1A-8AA8-45723969FC09
    F4AD5EA1-B1F9-4B1A-8AA8-45723969FC09 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. F988C871-3966-447E-9CFC-90AAB526BB09
    F988C871-3966-447E-9CFC-90AAB526BB09 avatar
    4062 posts
    Member since:
    Dec 2016

    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

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