How do I programmatically change what page is being displayed while using the Paging behavior?
I'd also settle for just resetting the Paging behavior to the default state. I really just need to programmatically get it back to page one.
This doesnt seem to work with WebHierarchichalDataGrid.
Hello,
To change a page from the JavaScript you can do the following:
function changePage(index)
{
var grid = $find("WebDataGrid1");
grid.get_behaviors().get_paging().set_pageIndex(index);
}