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. html table control click event

html table control click event

Scheduled Pinned Locked Moved ASP.NET
htmlhelp
9 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.
  • T Offline
    T Offline
    tiew82
    wrote on last edited by
    #1

    Hi all, i have html table control in my web page and anyone click on the cell of the table it will redirect to another web page, but html table control not have any click event, so how i can achieve this task anyone help eric

    C 1 Reply Last reply
    0
    • T tiew82

      Hi all, i have html table control in my web page and anyone click on the cell of the table it will redirect to another web page, but html table control not have any click event, so how i can achieve this task anyone help eric

      C Offline
      C Offline
      C M
      wrote on last edited by
      #2

      [Message Deleted]

      C 1 Reply Last reply
      0
      • C C M

        [Message Deleted]

        C Offline
        C Offline
        C M
        wrote on last edited by
        #3

        a b -C-?-M- -- modified at 3:25 Friday 18th November, 2005

        D 1 Reply Last reply
        0
        • C C M

          a b -C-?-M- -- modified at 3:25 Friday 18th November, 2005

          D Offline
          D Offline
          Daniel Santillanes
          wrote on last edited by
          #4

          that's weird... unconventional and improper html coding... yet if it works it's ok I guess. If you need a cell to respond to a mouse click though, you could add an onclick event, and make a form submition like that, but you could also add a link button with css style to make it look like regular text, or an image button with a transparent image... I don't know, there are several options there :). daniero

          T 1 Reply Last reply
          0
          • D Daniel Santillanes

            that's weird... unconventional and improper html coding... yet if it works it's ok I guess. If you need a cell to respond to a mouse click though, you could add an onclick event, and make a form submition like that, but you could also add a link button with css style to make it look like regular text, or an image button with a transparent image... I don't know, there are several options there :). daniero

            T Offline
            T Offline
            tiew82
            wrote on last edited by
            #5

            Did u have any sample code for onclick event or link button with css style to make a cell to respond to a mouse click?

            C 1 Reply Last reply
            0
            • T tiew82

              Did u have any sample code for onclick event or link button with css style to make a cell to respond to a mouse click?

              C Offline
              C Offline
              C M
              wrote on last edited by
              #6

              hehe i just provide some optional way.. coz you said some others way beside onclick... Or u describe more on your problem ... For example: do u use image... You wan the link to be display or ... what purpose of the table cell Or give something that i can visualize it :) Perhaps i can think of more accurate solution :)

              T 1 Reply Last reply
              0
              • C C M

                hehe i just provide some optional way.. coz you said some others way beside onclick... Or u describe more on your problem ... For example: do u use image... You wan the link to be display or ... what purpose of the table cell Or give something that i can visualize it :) Perhaps i can think of more accurate solution :)

                T Offline
                T Offline
                tiew82
                wrote on last edited by
                #7

                when user click the table cell, there will have message box come out to confirm user want to change the background color of the table cell or not , if user click OK in the message box, the background color of the table cell will change to another background color. This is my problem.I hope u can provide solution to me to solve it. eric

                C 1 Reply Last reply
                0
                • T tiew82

                  when user click the table cell, there will have message box come out to confirm user want to change the background color of the table cell or not , if user click OK in the message box, the background color of the table cell will change to another background color. This is my problem.I hope u can provide solution to me to solve it. eric

                  C Offline
                  C Offline
                  C M
                  wrote on last edited by
                  #8

                  One table has many table cells. When "OK" define, all table Cells change color Or ONLY particular cell changes color ?

                  T 1 Reply Last reply
                  0
                  • C C M

                    One table has many table cells. When "OK" define, all table Cells change color Or ONLY particular cell changes color ?

                    T Offline
                    T Offline
                    tiew82
                    wrote on last edited by
                    #9

                    When 'OK' define only particular cell that has been click will change color.

                    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