Item display = false paging

2 posts, 0 answers
  1. IT Manager
    IT Manager avatar
    11 posts
    Member since:
    Jan 2011

    Posted 03 Feb Link to this post

    I use item.Display = false; in the RadGrid1_ItemCreated. This hides the item fine. Page count is 15 and only shows 10 because 5 are hidden.

    Is there a way to show the 15 requested...

    Thanks 

     

  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 08 Feb Link to this post

    Hello,

    In this scenario, I am afraid no. The grid loads only the items which is provided in the data source, therefore, you will need to provide only the "displayed" items in the NeedDataSource event handler:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-binding/understanding-data-binding/server-side-binding/advanced-data-binding-%28using-needdatasource-event%29

    Or use filtering:
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/basic-filtering/defaultcs.aspx

    Regards,
    Eyup
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top