Hi,
I have a gridview which uses the following row databound event
| protected void gvSubJobs_RowDataBound(object sender, GridViewRowEventArgs e) |
| { |
| |
| if (e.Row.RowType == DataControlRowType.DataRow) |
| { |
| e.Row.Attributes["onmouseover"] = "this.style.backgroundColor='lightblue';"; |
| e.Row.Attributes["onmouseout"] = "this.style.backgroundColor='transparent';"; |
| e.Row.Attributes["onclick"] = ClientScript.GetPostBackClientHyperlink(gvSubJobs, "Select$" + e.Row.RowIndex); |
| } |
| |
| } |
After the user clicks on the row the selected_index_changed event redirects the user to another page by passing the parameter value of the gridview.
What I want to do now is when the user clicks on the row it displays a rad tooltip with two options:
1. View (redirect to another page using the selected value of the gridview)
2. Remove (remove the record from the gridview)
I cannot just simply put the show event (on click) on the gridview as this then also appears if you click on the headings.
How can achieve this context sensitive menu with the use of tooltips?
Summary
I need a tooltip to appear to give the user a list of options when they click on a specific row on the gridview. The options provided on the tooltip relate to the specific row the user has selected. This operation needs to work on the entire row not just a button. I am looking for a means to "show" the tooltip and cannot see the option anywhere...