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. add event to image

add event to image

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

    Hello, Is it possible to add click event to image (server control) in ASP.net 2005?

    Shay Noy

    A 1 Reply Last reply
    0
    • H helelark123

      Hello, Is it possible to add click event to image (server control) in ASP.net 2005?

      Shay Noy

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      You can use Image Button Control insted of Image Control :)

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      H 1 Reply Last reply
      0
      • A Abhijit Jana

        You can use Image Button Control insted of Image Control :)

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        H Offline
        H Offline
        helelark123
        wrote on last edited by
        #3

        OK, but is it possible to draw line on imagebutton? I need to draw lines and on click to change the line color? Thank you

        Shay Noy

        A 1 Reply Last reply
        0
        • H helelark123

          OK, but is it possible to draw line on imagebutton? I need to draw lines and on click to change the line color? Thank you

          Shay Noy

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          shaynoy wrote:

          OK, but is it possible to draw line on imagebutton? I need to draw lines and on click to change the line color?

          Where do you want to draw a line ? Can you please explain your exact requirment ? Thank you !

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          H 1 Reply Last reply
          0
          • A Abhijit Jana

            shaynoy wrote:

            OK, but is it possible to draw line on imagebutton? I need to draw lines and on click to change the line color?

            Where do you want to draw a line ? Can you please explain your exact requirment ? Thank you !

            Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

            H Offline
            H Offline
            helelark123
            wrote on last edited by
            #5

            I need to create chart that contains lines according to y=ax+b. After that the user will be able to click on those lines and get some info. The problem is that I don't know on which container to draw those lines. This container must include click event otherwise how can I click on line if the container do not have click event?

            Shay Noy

            A 1 Reply Last reply
            0
            • H helelark123

              I need to create chart that contains lines according to y=ax+b. After that the user will be able to click on those lines and get some info. The problem is that I don't know on which container to draw those lines. This container must include click event otherwise how can I click on line if the container do not have click event?

              Shay Noy

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              For this kind of features why you are not looking at any ASP.NET Chart Control ? That can easily resolve your issue and even you can extend them as you want. If you are using .NET 3.5 SP1 Framework, Microsoft having their own chart control inbuild with it.

              Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

              H 1 Reply Last reply
              0
              • A Abhijit Jana

                For this kind of features why you are not looking at any ASP.NET Chart Control ? That can easily resolve your issue and even you can extend them as you want. If you are using .NET 3.5 SP1 Framework, Microsoft having their own chart control inbuild with it.

                Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

                H Offline
                H Offline
                helelark123
                wrote on last edited by
                #7

                I have already checked for a chart control and found for ASP.net 2, but all those charts do not support click event on the drawn line.

                Shay Noy

                Y 1 Reply Last reply
                0
                • H helelark123

                  I have already checked for a chart control and found for ASP.net 2, but all those charts do not support click event on the drawn line.

                  Shay Noy

                  Y Offline
                  Y Offline
                  yesu prakash
                  wrote on last edited by
                  #8

                  u need to create a custome control for it...

                  H 1 Reply Last reply
                  0
                  • Y yesu prakash

                    u need to create a custome control for it...

                    H Offline
                    H Offline
                    helelark123
                    wrote on last edited by
                    #9

                    Can you please, be more specific Thank you

                    Shay Noy

                    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