I have a radgrid that i populate in the following way:
Button_Click Event
- Create a Dataview called dvData
- RadGrid1.DataSource = dvData
- RadGrid1.DataBind()
End Sub
Radgrid1_NeedDataSource_Event
- RadGrid1.DataSource = dvData
End Sub
Radgrid_PageIndexChange_Event
- Radgrid.CurrentPageIndex = e.NewPageIndex
End Sub
When i click on "Next" or on another page's number, the grid still shows me page 1.
Can you please help?
The "Allow Paging" property is set to true for both the grid and the mastertableview.
"Allow Custom Paging" is also set to true.
Page size = 20.
Also the grid is not performing any other function than displaying data (no sorting, no filtering, no paging of course etc)
Button_Click Event
- Create a Dataview called dvData
- RadGrid1.DataSource = dvData
- RadGrid1.DataBind()
End Sub
Radgrid1_NeedDataSource_Event
- RadGrid1.DataSource = dvData
End Sub
Radgrid_PageIndexChange_Event
- Radgrid.CurrentPageIndex = e.NewPageIndex
End Sub
When i click on "Next" or on another page's number, the grid still shows me page 1.
Can you please help?
The "Allow Paging" property is set to true for both the grid and the mastertableview.
"Allow Custom Paging" is also set to true.
Page size = 20.
Also the grid is not performing any other function than displaying data (no sorting, no filtering, no paging of course etc)