add event to image
-
Hello, Is it possible to add click event to image (server control) in ASP.net 2005?
Shay Noy
-
Hello, Is it possible to add click event to image (server control) in ASP.net 2005?
Shay Noy
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.
-
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.
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
-
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
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.
-
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.
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
-
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
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.
-
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.
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
-
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
u need to create a custome control for it...
-
u need to create a custome control for it...
Can you please, be more specific Thank you
Shay Noy