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 in Datalist

Paging in Datalist

Scheduled Pinned Locked Moved ASP.NET
comhelpquestionannouncement
1 Posts 1 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.
  • C Offline
    C Offline
    cybersurferdev
    wrote on last edited by
    #1

    Hi I currently have a paging mechanism for my datalist control which is displaying a gallery of Images. The code is a modified version of the code from HERE. I would like to modify the control to allow for paging through the images similar to the paging mechanism found on google. Only, there will be a fixed number of pages displayed and there will be a next and previous button as well. << Prev 1 2 3 4 5 Next>> So far what I've been able to achieve is: I am able to page through pages 1 to 5, in any order. All the buttons are linkbuttons. Here is what I need to still do: 1. Allow the next button to move through the currently displayed pages 2. When the user is on the last page and clicks the next button, the next page needs to be displayed and the linkbuttons need to change to show the next 5 page numbers too. Can anyone help me as to how I can go about starting this or if anyone else has done this or is busy with a similar thing, please, any and all help will be brilliant. Thanks

    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