SortCommand doesn't fire

3 posts, 0 answers
  1. Libertad
    Libertad avatar
    53 posts
    Member since:
    Sep 2008

    Posted 15 Dec 2009 Link to this post

    I have added some columns dynamically to a statically declared Grid with enable sorting set true.
    When I click a column title for sorting the grid columns are dissapeared on postback, and also the SortCommand doesn't being fired.
    What's the problem?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 Dec 2009 Link to this post

    Hi,

    How do you bind the Grid? advanced features such as sorting, RadGrid must be bound using declarative data sources or through the NeedDataSource event rather than using Simple data-Binding (calling DataBind()). You can also refer to the following online demo to get more details about AdvanceDataBinding techniques.
    Advanced data-binding

    Hope this helps..
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Libertad
    Libertad avatar
    53 posts
    Member since:
    Sep 2008

    Posted 15 Dec 2009 Link to this post

    I do databinding through a DataTable
Back to Top