This is a migrated thread and some comments may be shown as answers.

Go to Item?

1 Answer 37 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
SHP
Top achievements
Rank 1
SHP asked on 20 Sep 2011, 01:47 AM
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?

1 Answer, 1 is accepted

Sort by
0
Johny
Top achievements
Rank 1
answered on 23 Sep 2011, 07:19 AM
Hi,

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.

Johny
Tags
TreeList
Asked by
SHP
Top achievements
Rank 1
Answers by
Johny
Top achievements
Rank 1
Share this question
or