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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Error Occurs in Datagrid Paging!.......

Error Occurs in Datagrid Paging!.......

Scheduled Pinned Locked Moved ASP.NET
csshelpquestion
2 Posts 2 Posters 1 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
    Prabs frm PGP
    wrote on last edited by
    #1

    Hi! I want to do the Paging in the datagrid., I used data item command event also this is for if we clicks the link button in that grid., it has to redirects to another page., In that data grid, If i clicks the Next it shows the next form(which is i denotes in the item command., ) instead of the next datagrid page... The same code i used for this one is working properly in the other project there i didn't use any item command event... How can we solve this one..? Prabu.T

    G 1 Reply Last reply
    0
    • P Prabs frm PGP

      Hi! I want to do the Paging in the datagrid., I used data item command event also this is for if we clicks the link button in that grid., it has to redirects to another page., In that data grid, If i clicks the Next it shows the next form(which is i denotes in the item command., ) instead of the next datagrid page... The same code i used for this one is working properly in the other project there i didn't use any item command event... How can we solve this one..? Prabu.T

      G Offline
      G Offline
      Grapes R Fun
      wrote on last edited by
      #2

      You don't need any additional coding for the gridview paging (at least not in 2.0). All you have to do is to set the maximum number of records through PageSize property, and set AllowPaging property to true. Also, since you are using a command field, make sure that EnableSortingAndPagingCallbacks property is set to false because you can't page on the client if you use a command field (due to the possibilities of a postback). Let me know if you still have problems.

      Nila

      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