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 8768091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:58:58+00:00 2026-06-13T16:58:58+00:00

I get the paging to show when the RadGrid is shown, but when I

  • 0

I get the paging to show when the RadGrid is shown, but when I try to click for the next page the RadGrid disappears.

Here are the following screenshots that might help with this problem

The asp page

This is where the RadGrid is initially loaded

This is the pageindexchanged

Please help with some guidance to help me resolve this issue.

  • 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-06-13T16:58:59+00:00Added an answer on June 13, 2026 at 4:58 pm

    You don’t need the PageIndexChanged event, since you’re not doing any funky stuff there.

    As Ali Issa said, you should use the OnNeedDataSource event, which is gonna be called when you fetch for next page.

    So follow these steps:

    1. Remove the following code:

      protected void RadGrid1_PageIndexChanged(object source, Telerik.Web.UI.GridPageChangedEventArgs e)
      {
          this.GridView1.CurrentPageIndex = e.NewPageIndex;
          GridView1.DataSource = tbl;
          GridView1.DataBind();
      }
      

      in your aspx file:

      OnPageIndexChanged="RadGrid1_PageIndexChanged"

    2. And add the following code:

      protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
      {
          GridView1.DataSource = tbl;
      }
      

      in your aspx file:

      OnNeedDataSource="RadGrid1_NeedDataSource"

    One last thing: Don’t forget your tbl variable must be re-assigned on every server call (unless tbl is a Session variable). So, make sure tbl is at least defined in your Page_Load but the best would be to replace tbl to some Database call.

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

Sidebar

Related Questions

Ok, so I'm trying to get my custom paging going on the Telerik RadGrid
I have a paging repeater inside of an UpdatePanel so that I can show,
I'm following this example to parse a xml example but when I try to
When I try to show five rows only, the paging toolbar says showing 1-5
here is my paging code: function getPagingQuery($sql, $itemPerPage = 10) { if (isset($_GET['page']) &&
I am trying to get jsRender and paging to work, but I am somewhat
//get the lat and loni throgh the loaddata function.java.util.ConcurrentModificationException at java.util.AbstractList$SimpleListIterator.next(AbstractList.java:64) How to resolve
I have managed to get paging to work, almost. I want to display to
I'm using KendoUI Grid to show data. I have server paging working like a
I have a criteria query that I am using to show pages of results.

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.