![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I added an onclick event to a grid cell at bind time e.Row.Cells[nFieldNum].Attributes.Add("onclick", "return LaunchInfo('../DetailLocation.aspx')") This works fine, but there is no indication that one can "click" on the cell when the cursor is mioved over the item in the cell. I would like the mouse cursor to change to a hand and back to normal as it moves over the clickable item. Also, it is even hard to look up information about this. Where would I go (VS8) to find help about .Attributes.Add( where visual studio would list the range of arguments available to the Add? If I highlight Attributes.Add and presss F1 i get Type.Atributes property help page but what I really want is a list of what the Add arguement can be. |
#3
| |||
| |||
|
|
I added an onclick event to a grid cell at bind time e.Row.Cells[nFieldNum].Attributes.Add("onclick", "return LaunchInfo('../DetailLocation.aspx')") This works fine, but there is no indication that one can "click" on the cell when the cursor is mioved over the item in the cell. |
#4
| |||
| |||
|
|
I added an onclick event to a grid cell at bind time e.Row.Cells[nFieldNum].Attributes.Add("onclick", "return LaunchInfo('../DetailLocation.aspx')") This works fine, but there is no indication that one can "click" on the cell when the cursor is mioved over the item in the cell. Do you see the 'onclick' attribute in the rendered table? You may want to try: style="cursor: hand" |
#5
| |||
| |||
|
|
Thanks MasterGaurav - I also found (by experimenting) that I could use the following instead of building my own tooltip e.Row.Cells[nFieldNum].Attributes.Add("title", "click for details"); Not sure why "title" is used instead of "tooltip" |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |