Hello everyone,
I need your help, i have 2 RadGrid which each depend on other grid.
Each grid can sort. But if i sort the first grid i lost the first row
selected item and the second grid give me error of grid1 cant be null
So, i would like to know how i can set the focus on the last selected item or just focus on the first row?
I use VB.NET
I have tried sample i found here, and nothing change like
RadGrid1.MasterTableView.Items(0).Selected = True
for now in my Page_Load to get the focus i use radgrod1.items(0).focus()
but it doesn't work on the SortCommand sub, i get a javascript error message
In this sub, i get a new DataSource and i rebind the radgrid.
I have tried RadGrid1.SelectedIndexes.Add(0) with my .focus and same JS error.
Thanks for your help.