This question is locked. New answers and comments are not allowed.
Hello,
Currently when I load my Telerik MVC Grid, I specify which row should be selected on load using the following:
.RowAction(row =>
{
row.Selected = row.DataItem.pk_retrofit_id.ToString().Equals(ViewData["SelectedId"]);
})
My issue arises when the selected row is not within the first page (I have paging enabled). Is there a way to load the grid on the page containing the selected row?
I know I could possibly figure out which page the row would exist in, then set the 'paging.PageTo' property...this feels a bit "hacked-out". Is there a better solution?
Thanks,
Colin
Currently when I load my Telerik MVC Grid, I specify which row should be selected on load using the following:
.RowAction(row =>
{
row.Selected = row.DataItem.pk_retrofit_id.ToString().Equals(ViewData["SelectedId"]);
})
My issue arises when the selected row is not within the first page (I have paging enabled). Is there a way to load the grid on the page containing the selected row?
I know I could possibly figure out which page the row would exist in, then set the 'paging.PageTo' property...this feels a bit "hacked-out". Is there a better solution?
Thanks,
Colin