Go to Item?

2 posts, 0 answers
  1. SHP
    SHP avatar
    8 posts
    Member since:
    Dec 2010

    Posted 19 Sep 2011 Link to this post

    I have a TreeList control with a page size of 10 which will have multiple pages of data...and I want to make an item on the second page (a) selected and (b) expanded, AND (c) navigate to that item so that we're on second page of data.  I don't see a way to accomplish (c) in server-side code.  Is it possible, or is there a client-side trick that works?
  2. Johny
    Johny avatar
    80 posts
    Member since:
    Aug 2008

    Posted 23 Sep 2011 Link to this post


    I suspect that you can use the CurrentPageIndex property:

        protected void Page_Load(object sender, EventArgs e)
            if (!IsPostBack)
                RadTreeList1.CurrentPageIndex = 1;

    I hope this helps.

  3. Telerik UI for ASP.NET Core is out
Back to Top