Re: grid cell has onclick but hand is not shown
- From: "Beemer Biker" <jstateson@xxxxxxxx>
- Date: Tue, 8 May 2007 11:43:38 -0500
I never got a "hand" to appear but I was able to add a mouseover type tooltip to prompt the user to click for details (from dynamicdrive.com ... thanks)
e.Row.Cells[nFieldNum].Attributes.Add("onMouseover", "ddrivetip('click to view detail','yellow',200)");
e.Row.Cells[nFieldNum].Attributes.Add("onMouseout", "hideddrivetip()");
a hand can appear with <a href .. data_to_click_on a> but i dont see how to set that up in a bound data cell in a grid.
"Beemer Biker" <jstateson@xxxxxxxx> wrote in message news:133h57uo0jfgv24@xxxxxxxxxxxxxxxxxxxxx
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.
.
- References:
- grid cell has onclick but hand is not shown
- From: Beemer Biker
- grid cell has onclick but hand is not shown
- Prev by Date: Re: Newbie Delete question
- Next by Date: Re: datagrid to excel with image
- Previous by thread: grid cell has onclick but hand is not shown
- Next by thread: Re: grid cell has onclick but hand is not shown
- Index(es):
Relevant Pages
|
Loading