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

set_currentPageIndex() server side equivalent

2 Answers 56 Views
ListView
This is a migrated thread and some comments may be shown as answers.
arnaud
Top achievements
Rank 1
arnaud asked on 14 May 2010, 03:33 PM
Hi,

What would be the server side equivalent for set_currentPageIndex() if there is any ?

Something like :

Protected Sub RadListView1_PreRender(ByVal sender As Object, ByVal e As EventArgs) Handles RadListView1.PreRender 
 
 
        For Each item As RadListViewDataItem In RadListView1.Items 
            Dim customerID As String = item.GetDataKeyValue("id_inscrit").ToString() 
            If customerID = Request.QueryString("id_inscrit") Then 
'RadListView1.???? -> Go to the choosen page 
                 
            End If 
        Next 
        RadListView1.Rebind() 
 
    End Sub 


Thank You
Arnaud

2 Answers, 1 is accepted

Sort by
0
Accepted
BaiH
Top achievements
Rank 1
answered on 14 May 2010, 03:46 PM
How about CurrentPageIndex?

--BH


0
arnaud
Top achievements
Rank 1
answered on 14 May 2010, 03:49 PM
I'm blind.

Thank you :p
Tags
ListView
Asked by
arnaud
Top achievements
Rank 1
Answers by
BaiH
Top achievements
Rank 1
arnaud
Top achievements
Rank 1
Share this question
or