Thank you for writing back.
One possible approach for iterating the Templates
of RadGridView is to create a custom IEnumerable<GridViewTemplates> class. Further, you can to store the unique row IDs of different templates in a common structure. I have modified my previous sample project, so that now it does not depend on the specific template tree structure. Please have a look at it and let me know whether it addresses the issue.
Also, I have added a method that also retrieves the current row of RadGridView. In the RestoreCurrentRow() method, there is a line that scrolls to the current row:
The above code seems to work regardless of the current row's template. However, if you encounter any issues or this approach does not work in your project, please let me know.
I hope this helps. Feel free to write back if you have further questions. I will do my best to assist you.
All the best,
the Telerik team