hey, thanks for the web ref. it was a good start.
eventually i end up with the simplest code, something like these. only that i hook up row data for building querystring.
Code:
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes.Add("onclick", "javascript:window.location='my_url?q=" & e.row.dataitem("fld").tostring &";")
'add hlink cursor effect
e.Row.Attributes.Add("onmouseover", "javascript:this.style.cursor='pointer';")
e.Row.Attributes.Add("onmouseout", "javascript:this.style.cursor='default;")
End If
cheers.