Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. paging?

paging?

Scheduled Pinned Locked Moved ASP.NET
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Karthick_gc
    wrote on last edited by
    #1

    Hi, In gridview with paging if the number records will high, then the page numbers displayed in the bottom also increased. So the grid width increases. Is there is any way to display the numbers using Dots so that only the first 10 pages will be displayed after that it increased depends upon the total pages.

    A K 2 Replies Last reply
    0
    • K Karthick_gc

      Hi, In gridview with paging if the number records will high, then the page numbers displayed in the bottom also increased. So the grid width increases. Is there is any way to display the numbers using Dots so that only the first 10 pages will be displayed after that it increased depends upon the total pages.

      A Offline
      A Offline
      Alok Sharma ji
      wrote on last edited by
      #2

      you need some inline coding and a bit of css in it. try the site asp.net /samples or google it "gridview displays" or "gridview display examples" also try ajax on it.

      1 Reply Last reply
      0
      • K Karthick_gc

        Hi, In gridview with paging if the number records will high, then the page numbers displayed in the bottom also increased. So the grid width increases. Is there is any way to display the numbers using Dots so that only the first 10 pages will be displayed after that it increased depends upon the total pages.

        K Offline
        K Offline
        kishorgh
        wrote on last edited by
        #3

        set Pagesize="10" and add below code in .aspx page <PagerSettings Mode="NumericFirstLast" NextPageText="" Position="TopAndBottom" PreviousPageText=""> </PagerSettings> may be it will work..:)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups