Hey Telerikians!
I have a problem with the datagrid. I am building a schedule for students to choose their timetables.
There are two grids in the 'choose your subjects' section.
One is a grid with two columns: Start Time and End Time.
The second is a grid with subjects.
These grids have pages set to 10 rows per page.
What my problem is:
I only want one grids page numbers to come up, as both grids have identical amount of rows.
So when the user clicks a page number on the first grid, the second grid changes to that page too.
currently i have this code which doesn't work:
Any help will be very appreciated and thankyou in advance,
Nick.
I have a problem with the datagrid. I am building a schedule for students to choose their timetables.
There are two grids in the 'choose your subjects' section.
One is a grid with two columns: Start Time and End Time.
The second is a grid with subjects.
These grids have pages set to 10 rows per page.
What my problem is:
I only want one grids page numbers to come up, as both grids have identical amount of rows.
So when the user clicks a page number on the first grid, the second grid changes to that page too.
currently i have this code which doesn't work:
Sub Grid_Change(ByVal source As Object, ByVal e As Telerik.WebControls.GridPageChangedEventArgs)
'change the page index in both top grids if GridTime index is changed:
GridSubjects.CurrentPageIndex() = GridTime.CurrentPageIndex()
GridSubjectsData.Copy()
GridSubjects.Rebind()
End Sub
Any help will be very appreciated and thankyou in advance,
Nick.