ASP.net
How to Add tool tip for gridview cells..and How to add styes for that tool tip
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rishikesh Kumar SinghPosted Feb 23, 2013, 12:34 PM
{
if(e.Row.RowType==DataControlRowType.Header) // checking out that whether the row is a header
{
for (int i = 0; i < GridView1.Columns.Count; i++)
{
e.Row.Cells[i].ToolTip = GridView1.Columns[i].HeaderText;
}
}
}
you can go through my blog
http://www.c-sharpcorner.com/Blogs/10742/showing-tooltip-on-header-columns-of-a-gridview.aspx
if it helps you then mark it as an accepted answer otherwise let me know..!!