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. Header Checkbox issue in GridView

Header Checkbox issue in GridView

Scheduled Pinned Locked Moved ASP.NET
wpfwcfsysadminhelptutorial
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.
  • S Offline
    S Offline
    soorajek
    wrote on last edited by
    #1

    Some columns of a gridview are dynamically bound. The gridview has a header checkbox used for Select All function. During dynamic binding the header checkbox is not rendering. There is some server code also in its Checked event. So how to make that header checkbox visible during dynamic binding of “columns” in the gridview.

    sooraj

    R 1 Reply Last reply
    0
    • S soorajek

      Some columns of a gridview are dynamically bound. The gridview has a header checkbox used for Select All function. During dynamic binding the header checkbox is not rendering. There is some server code also in its Checked event. So how to make that header checkbox visible during dynamic binding of “columns” in the gridview.

      sooraj

      R Offline
      R Offline
      Ramasubramaniam
      wrote on last edited by
      #2

      Hi, I have done it in the datagrid. You can add the checkbox control to the header on the itemdatabound() event, there itself add an event to the checkbox (check event). There you can make all the item checkboxes as selected. Ram

      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