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. Manual custom paging in gridview

Manual custom paging in gridview

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
2 Posts 2 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.
  • P Offline
    P Offline
    pranavcool
    wrote on last edited by
    #1

    Hello, I am writing a c# asp.net application. I have a gridview in which i am using a numeric paging mechanism with previous and next button. I would like to add a textbox where the user can enter the exact page number he whishes to move to and moving to that page by pressing a button or by pressing "enter". I would like it look like: textbox (where the user enters the page number) "out of 46" (for example) Pls suggest some solution or provide me some example or link through which i can get my work done. Regards,

    Pranav Dave

    P 1 Reply Last reply
    0
    • P pranavcool

      Hello, I am writing a c# asp.net application. I have a gridview in which i am using a numeric paging mechanism with previous and next button. I would like to add a textbox where the user can enter the exact page number he whishes to move to and moving to that page by pressing a button or by pressing "enter". I would like it look like: textbox (where the user enters the page number) "out of 46" (for example) Pls suggest some solution or provide me some example or link through which i can get my work done. Regards,

      Pranav Dave

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      This is a easy way, Just set grid view page index with that text box values. Before doing that, ensure that entered cound should be numeric and less or equal to total no of pages in grid view.

      Parwej Ahamad R & D with IIS 5.0/6.0

      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