Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have lot of data in gridview's rows. I want to show that cell or row data in tooltip.? i user scroll mouse to any specified row column then that data (complete data) should appear in tooltip.
how can i do this m using winform
Posted
Comments
joginder-banger 22-Dec-13 5:40am    
what's you want?? share your snippet parts of coding
Muhamad Faizan Khan 22-Dec-13 5:49am    
i asked that how to show cell's data in Tooltip. no code i have

1 solution

In that case you have to use RowDataBound event of your gridview try Something Like that
C#
protected void GridView_RowDataBound(object sender, GridViewRowEventArgs e)
{
    if (e.Row.RowType == DataControlRowType.DataRow)
    {
        e.Row.ToolTip =Something; //Bind here the value of your row
    }
}

Note
in this way tooltip will be shown for entire row.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900