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. can i know which checkbox caused the postback ?

can i know which checkbox caused the postback ?

Scheduled Pinned Locked Moved ASP.NET
question
4 Posts 3 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.
  • M Offline
    M Offline
    Mohammed Amine
    wrote on last edited by
    #1

    HI , i added a checkbox into my datagrid & i want when checking this latest to select the row this latest belong to well , i don't want you askme why i want this feature ? ;p i just need it i thaught a lot about an other solution , if you have one tell me :) thank you

    try to be good if you can't be the best

    I K 2 Replies Last reply
    0
    • M Mohammed Amine

      HI , i added a checkbox into my datagrid & i want when checking this latest to select the row this latest belong to well , i don't want you askme why i want this feature ? ;p i just need it i thaught a lot about an other solution , if you have one tell me :) thank you

      try to be good if you can't be the best

      I Offline
      I Offline
      Ista
      wrote on last edited by
      #2

      check the sender object

      -------------------------------------------------------- 1 line of code equals many bugs. So don't write any!! My mad coder blog

      M 1 Reply Last reply
      0
      • M Mohammed Amine

        HI , i added a checkbox into my datagrid & i want when checking this latest to select the row this latest belong to well , i don't want you askme why i want this feature ? ;p i just need it i thaught a lot about an other solution , if you have one tell me :) thank you

        try to be good if you can't be the best

        K Offline
        K Offline
        Khawar Abbas1
        wrote on last edited by
        #3

        You have to make a loop in which u have to check all the checkboxes in grid row by row. You can write this code in CheckedChanged event.

        Do good and have good.

        1 Reply Last reply
        0
        • I Ista

          check the sender object

          -------------------------------------------------------- 1 line of code equals many bugs. So don't write any!! My mad coder blog

          M Offline
          M Offline
          Mohammed Amine
          wrote on last edited by
          #4

          hey, howare you ? i tried the sender object but it didn't work , i really need now to know the control that caused the postback ,because i needed it in some other things

          try to be good if you can't be the best

          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