New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


Returns the current page index for the respective GridTableView object. Can be used to check which page the user is currently viewing.

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" AllowPaging="True"
    <MasterTableView DataKeyNames="OrderID">
<br />
<asp:Button ID="Button1" runat="server" Text="Click"
    OnClientClick="buttonClick(); return false;" />
function buttonClick() {
    var grid = $find('<%= RadGrid1.ClientID %>');
    var masterTableView = grid.get_masterTableView();

    var pageIndex = masterTableView.get_currentPageIndex();
    alert("Active page: " + (pageIndex + 1));
In this article