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

  • Home
  • SEARCH
  • 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 8801157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:45:48+00:00 2026-06-14T00:45:48+00:00

I have an ASP.NET GridView control with a massive amount amount of data, which

  • 0

I have an ASP.NET GridView control with a massive amount amount of data, which creates page numbers like:

1,2,3,4,5,6,7…..

Instead of periods, I need to show all the page numbers in the GridView at the bottom. Can anyone see what’s wrong with my code?

<asp:GridView ID="gvContact" 
              runat="server" 
              AllowPaging="True"
              PageSize="1000" 
              AutoGenerateColumns="False"
              CellPadding="4"
              ForeColor="#333333"
              GridLines="None"
              OnRowCancelingEdit="GridView1RowCancelingEdit"
              OnRowEditing="GridView1RowEditing"
              Width="960px" 
              OnRowUpdating="GridView1RowUpdating"
              OnPageIndexChanging="GrvDetailsPageIndexChanging" 
              OnRowDeleting="GridView1RowDeleting">
  • 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-14T00:45:49+00:00Added an answer on June 14, 2026 at 12:45 am

    Use the PageButtonCount together with the Mode="NumericFirstLast" in the settings of your GridView, for example add this line inside the GridView:

    <PagerSettings Mode="NumericFirstLast"  PageButtonCount="1000"  />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET page where I am showing products in a Gridview control.
In my asp.net application i have a gridview control, in which i added a
How can I create a gridview control in c# asp.net which acts like an
I have an ASP.Net GridView control on an ASPX page hosted on a SharePoint
I have a GridView control on my ASP.NET page that binds to result set
Hy, I have a gridView control in Asp.NET like this: <asp:GridView ID=outputGridView runat=server onrowediting=OutputGridView_RowEditing>
I have an ASP.NET page with a gridview control on it with a CommandButton
I have added a GridView control on my ASP.net webpage and data bound it
I have a devexpress gridview within my asp.net page which has a filter row.
I have a gridview control on my asp.net page(vb.net). I also have a cancel

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.