Posted 24 Jan 2013 Link to this post
Posted 28 Jan 2013 Link to this post
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
"server"
AutoGenerateColumns
"true"
DataSourceID
"Sqldatasource1"
>
ClientSettings
Selecting-AllowRowSelect
ClientEvents
OnGridCreated
"GridCreated"
/>
Scrolling
AllowScroll
ScrollHeight
"300px"
UseStaticHeaders
</
<script type=
"text/javascript"
function
GridCreated(sender, eventArgs) {
var
scrollArea = document.getElementById(sender.get_element().id +
"_GridData"
);
length = sender.get_masterTableView().get_dataItems().length;
row = sender.get_masterTableView().get_dataItems()[length - 1];
scrollArea.scrollTop = row.get_element().offsetTop;
}
</script>
Posted 21 Apr 2015 Link to this post
SaveScrollPosition
"false"
See What's Next in App Development. Register for TelerikNEXT.
Posted 13 Jun 2016 in reply to Shinu Link to this post
Hi Shinu,
Do you have any idea where I can perform the operation in code behind rather than javascript.