I have one GridView, in its RowDataBound Event, I am assigning ToolTip as below:
protected void gv_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (gv.HeaderRow != null && e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.ToolTip = "Remarks: " + ((Label)e.Row.FindControl("lblRemarks")).Text;
}
}
catch (Exception ex)
{
BussinessLayer.RIBOException.Instance.HandleMe(this, ex);
}
}
Here, I want to extend the display time of the ToolTip.
How to do this?
You need to use the
ToolTipServiceand specifically theShowDurationattached property.You should be able to do the following after you set the tooltip: