Server side reordering

5 posts, 0 answers
  1. Jay
    Jay avatar
    28 posts
    Member since:
    Apr 2006

    Posted 27 Sep 2010 Link to this post

    Is this possible?  I see the grid has a oncolumnsreorder event but I'm having trouble getting it to fire.  I can't find any documentation on it either.  My columns have reorderable set to true.  They are auto generated columns though.
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 29 Sep 2010 Link to this post

    Hi Jay,

    You can enable server-side columns reordering either in the VS designer throug the RadGrid Smart Tag. Or by setting the below property in the grid ClientSettings tag:

    <ClientSettings ReorderColumnsOnClient="false">
    </ClientSettings>


    Kind regards,
    Iana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 25 Mar 2011 Link to this post

    This property doesn't seem to work at all.
    After setting:

    <ClientSettings ReorderColumnsOnClient="false" AllowColumnsReorder="True"></ClientSettings>

    the columns are still reordered on the client.

    Any thoughts?

    -DJ-
  5. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 25 Mar 2011 Link to this post

    Hello,

    The described behavior is not expected. Furthermore I can see that when the ReorderColumnsOnClient property is set to false in this demo, the columns are reordered on the server.
    Can you check it out and let us know what differs in your scenario?

    All the best,
    Iana
    the Telerik team
  6. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 25 Mar 2011 Link to this post

    I spoke too early Iana, I had conflicting settings in the page and the codebehind.
    It works perfectly.

    Thanks,
    -DJ-
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017