Hi,
I am selecting the row of a grid in javascript,but when i am changing the page in the grid the selected row get lost, i want to show the row selected even when the user changes the page and back to the page in which he selects that row.
The code is given here below:-
javascript
function
AfterRowActivateAccount(gn, rowID)
{
var row=igtbl_getRowById(rowID);
prevRowId=rowID;
var cells=row.getCellElements();
prevRowColor= cells[0].style.backgroundColor;
setRowBackColor(row,
);
selectGridRowAccountSearch(cells[1].innerText,cells[0].innerText);
igtbl_selectRow(
"dgSearchResults", rowID, true
var grid=igtbl_getGridById(gn);
Here i alert the selected rows i get the row over here;
}
I want to ascess teh row in the page index changed
protected
void dgClientSearchResults_PageIndexChanged(object sender, Infragistics.WebUI.UltraWebGrid.PageEventArgs e)
Infragistics.WebUI.UltraWebGrid.
SelectedRowsCollection coll = dgClientSearchResults.DisplayLayout.SelectedRows;
int count = coll.Count;
dgClientSearchResults.DisplayLayout.Pager.CurrentPageIndex = e.NewPageIndex;
if
)