Search This Blog

Tuesday, February 28, 2012

How can I display a pointer when I point my mouse in the gridview instead of a cursor???


****************************************************************
If
e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes.Add(
"onmouseout", this.style.cursor="cursor"))

e.Row.Attributes.Add(
"onmouseover", this.style.cursor="hand"))


End If
****************************************************************
 effect is achieved by adding code which fires onmouseover and onmouseout as in
e.Row.Attributes.Add(
"onmouseover", this.style.cursor="hand"))

e.Row.Attributes.Add(
"onmouseout", this.style.cursor="cursor"))


No comments:

Post a Comment