RadGrid Paging with dynamic columns

Thread is closed for posting
2 posts, 0 answers
  1. Vikas
    Vikas avatar
    1 posts
    Member since:
    Jan 2011

    Posted 12 Jan 2011 Link to this post

    Hello Group,

    We are using RADGrid (RadControls for ASP.NET AJAX Q1 2010) . We have some static columns defined in .ascx file and also adding columns (GridBoundColumn) dynamically in code behind.
    We are binding data for  dynamic columns using RadGrid_ItemDataBound event. When we try to enable paging on the grid, it behaves ackwardly. My doubt it is happening because of dynamic column.
    Can you let us know for dynamic columns , paging needs to be handled in a custom manner  or RadGrid supports that? 

    Appreciate your help. 

    Thanks,
    Vikas Baid

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 12 Jan 2011 Link to this post

    Hi Vikas,

    RadGrid does not support mixing declarative grid columns with grid columns added dynamically at runtime. You should either create all the columns in the grid programmatically, or else define them all in the ASPX file.
    For more information about programmatic grid creation, you can refer to the help article below:
    http://www.telerik.com/help/aspnet-ajax/grdprogrammaticcreation.html

    All the best,
    Pavlina
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top