Datagrid Paging??
-
hi all, I am developing an exam web page, i have a datagrid control with 3 pages. The grid consists of combobox template column of values "yes" or "no". if it is selected"yes" score is 4 if no score is 2, i need to get the total of the score of the 3 pages at once. ho do i make it work. Regards.
-
hi all, I am developing an exam web page, i have a datagrid control with 3 pages. The grid consists of combobox template column of values "yes" or "no". if it is selected"yes" score is 4 if no score is 2, i need to get the total of the score of the 3 pages at once. ho do i make it work. Regards.
If you need to compute the total score for all records, you need to track the state of each record independantly of the grid. If your just storing the information only in the grid, it will be destroyed whenever you redraw it. If you are data binging, this should be relatively strait forward. Whenever the user changes the page, just update the data source the grid is bound to for the currently visible rows before rebinding.