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. How to redirect on first and last page of gridview using object datasource?

How to redirect on first and last page of gridview using object datasource?

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
4 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.
  • R Offline
    R Offline
    Ravi Mori
    wrote on last edited by
    #1

    Hi friends.. I have gridview and i fill data in gridview using ObjectDataSource. I set properties EnablePaging and PageSize for displaying page numbers.. Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it.. So how to achieve that? Thanks..

    A 1 Reply Last reply
    0
    • R Ravi Mori

      Hi friends.. I have gridview and i fill data in gridview using ObjectDataSource. I set properties EnablePaging and PageSize for displaying page numbers.. Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it.. So how to achieve that? Thanks..

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Ravi Mori wrote:

      Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it..

      You can give here number, text or Image. Try to Explore Pager Settings [ FirstPageText, LastPageText, NextPageText, FirstPageImageUrl etc.. ] for GridView.

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

      R 1 Reply Last reply
      0
      • A Abhijit Jana

        Ravi Mori wrote:

        Now what i want to add is "First" and "Last" link on paging..So user can go to either first or last page of gridview by clicking on it..

        You can give here number, text or Image. Try to Explore Pager Settings [ FirstPageText, LastPageText, NextPageText, FirstPageImageUrl etc.. ] for GridView.

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

        R Offline
        R Offline
        Ravi Mori
        wrote on last edited by
        #3

        Thanks a lot.. Pager Settings works for me..

        A 1 Reply Last reply
        0
        • R Ravi Mori

          Thanks a lot.. Pager Settings works for me..

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Welcome ! ;)

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Visit My Latest Article : Beginner's Guide : Exploring IIS 6.0 With ASP.NET

          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