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. Datagrid in asp.net 2005

Datagrid in asp.net 2005

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestion
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.
  • Z Offline
    Z Offline
    zareee
    wrote on last edited by
    #1

    hi, i have a datagrid control,in the onitemcommand event i have wrote code to display the row details of the clicked id to the textbox it works.but the paging doesnt work here.in the click of that paging arrow the control goes to the onitemcommand n not on pageindexchanged event. When the code in the onitemcommand is commented paging works. where i m gng wrong?ne body can help?

    zari

    J 1 Reply Last reply
    0
    • Z zareee

      hi, i have a datagrid control,in the onitemcommand event i have wrote code to display the row details of the clicked id to the textbox it works.but the paging doesnt work here.in the click of that paging arrow the control goes to the onitemcommand n not on pageindexchanged event. When the code in the onitemcommand is commented paging works. where i m gng wrong?ne body can help?

      zari

      J Offline
      J Offline
      just3ala2
      wrote on last edited by
      #2

      did u check the command name in the code u use in the OnItemCommand? it should be something like : If e.CommandName = "Something" Then . . . End If And u should name the command causer like the button... and pager template...

      Best Regards 3ala2 :)

      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