Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6709571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:53:52+00:00 2026-05-26T07:53:52+00:00

I am using the Telerik MVC grid, with Ajax data binding. I would like

  • 0

I am using the Telerik MVC grid, with Ajax data binding.

I would like to do 2 things with the Telerik MVC Grid:

  1. When a row is selected, detect (client side) which page the grid is currently on as well as which row was selected.
  2. The next time the grid is loaded (using ajax … I never leave the page), page back to the same page to show the last select. (I guess I am really just asking if there is a way to immediately go to a page of the grid once the data is loaded, rather than page 1)

Please keep in mind, I am aware of the client side events already. I would like to know how to do #1 from the event, and #2 either from the client side or programatically somehow.

Edit/More Details: I think I know what I need to do here. Since I am using Ajax loading here, the Ajax POST is being called somewhere in the Telerik code. I can see that during that Ajax POST they are sending a “page” parameter to the controller. If I could edit that somehow, I am sure it would work – but I am having trouble changing that parameter.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:53:52+00:00Added an answer on May 26, 2026 at 7:53 am

    For the sake of anyone else looking for this, I figured it out:

    Getting the current page of the Grid:
    To do this, I use jQuery to determine which number has the “selected” style (t-state-active) to determine the current page number. Example (my grid id is ‘cases-grid’):

    function getCurrentGridPage() {
            ///<summary>Gets the current page of the #cases-grid</summary>
            var page = $('#cases-grid .t-state-active');
            if (page.length == 0) {
                return 1; //default to page 1 when unknown
            }
            return page.text();
        }
    

    The second part of my question was actually well documented on the Telerik site … I just missed it for awhile. To load the grid to a specific page (other than 1) I added the following to my grid:

    .Pageable(pager => pager.PageTo(@Model.InitialPage))
    

    And added the InitialPage property to my model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the Telerik MVC grid, together with AJAX binding to actions secured
I am using the Telerik MVC Grid with Ajax binding, and am having a
Using telerik mvc grid with ajax, give me some headaches. I am trying to
I'm using telerik mvc grid and bound my columns throuugh Data Table, I having
First some background..I am using the Telerik MVC Grid to display data. The grid
The Telerik MVC grid I am using is shown below. The data is displaying
I'm using RadAjaxPanel by telerik and it has ClientEvents-OnResponseEnd client-side event. So I've written
We're using the Telerik Rad Controls for ASP.Net Ajax on an ASP.Net MVC project.
I'm using the Telerik MVC Grid component to render a groupable grid populated via
I am using Ajax binding with the Grid and ran into a problem where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.