Thanks Eyup.
I tried the following solution and it worked for me.
1. Put the following code inside <ClientSetting> tag of RadGrid
<ClientEvents OnGridCreated="gridCreated" />
2. Below is the java script function
function gridCreated(sender, args) {
var scrollArea = document.getElementById(sender.get_id() + "_GridData");
var row = sender.get_masterTableView().get_selectedItems()[0];
if (row) {
setTimeout(function () {
var rowEl = row.get_element();
scrollArea.scrollTop = rowEl.offsetTop - parseFloat(scrollArea.style.height) + (rowEl.style.height == '' ? 0 : parseFloat(rowEl.style.height)) + 100;
}, 20);
}
}
Regards,
Pallav Santra