Hello All,
I have a grid, that in the ItemCommand event handler subroutine I handle the "RowClick" with a call to another sub... Now here's where it gets interesting... In the first cell/column of a row, I have an Image. I would like it so that when the user "Clicks" the image that it fires off a server side event that I can capture and call my same sub that handles the "RowClick" event... I know that if the user clicks the "white" space around the image, that the ItemCommand event is fired for the "RowClick", but NOT for clicking inside the image itself... The image is large enough and takes up a good bit of the cell that there is very little "white" space around it, and that it would seem to be very frustrating that nothing happens when the image itself is clicked...
Right now, how things stand is that it's a plain column, and a plain image in the cell. I have NOT looked at placing an ImageButton in the cell, as I have not used that control before, nor have I looked at a GridImageColumn or a GridBinaryImageColumn yet. the two alternative column types don't quite seem to be want I looking for, as the images are not stored in a database or in a particular URL...
So... Is there anyway to have the Image fire off some sort of server event when it is clicked or not??? That is the question of the day...
Thanks in advance!,
Kevin Orcutt
Matson Money Inc.
(513) 204-8000 x8245
(513) 204-8245 (Direct)
Kevin.Orcutt@MatsonMoney.com
www.MatsonMoney.com
I have a grid, that in the ItemCommand event handler subroutine I handle the "RowClick" with a call to another sub... Now here's where it gets interesting... In the first cell/column of a row, I have an Image. I would like it so that when the user "Clicks" the image that it fires off a server side event that I can capture and call my same sub that handles the "RowClick" event... I know that if the user clicks the "white" space around the image, that the ItemCommand event is fired for the "RowClick", but NOT for clicking inside the image itself... The image is large enough and takes up a good bit of the cell that there is very little "white" space around it, and that it would seem to be very frustrating that nothing happens when the image itself is clicked...
Right now, how things stand is that it's a plain column, and a plain image in the cell. I have NOT looked at placing an ImageButton in the cell, as I have not used that control before, nor have I looked at a GridImageColumn or a GridBinaryImageColumn yet. the two alternative column types don't quite seem to be want I looking for, as the images are not stored in a database or in a particular URL...
So... Is there anyway to have the Image fire off some sort of server event when it is clicked or not??? That is the question of the day...
Thanks in advance!,
Kevin Orcutt
Matson Money Inc.
(513) 204-8000 x8245
(513) 204-8245 (Direct)
Kevin.Orcutt@MatsonMoney.com
www.MatsonMoney.com