Click here to Skip to main content
15,919,358 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all,

i have a grid view where am displaying data from dataset. My dataset
consists of columns Customer name, surname, date requested, sales person,
file number , status and comments
I am displaying all columns in grid view except comments.

Now I want to have comments displayed (for each row) as tooltip when u hover
over particular row.

Does anybody know the code for this ?


Sir, I think that you have to use a DataRepeater just like:

<asp:Repeater ID="Repeater1" runat="server">
<tr title='<%# Eval("Comment") %>'>
Share this answer
Share this answer
Ali Al Omairi(Abu AlHassan) 1-Jan-11 17:31pm    
I have seen your Answer but I don't think that it provides a solution for this problem. since the problem statement contained "(for each row)" specifier. thank you.
thatraja 1-Jan-11 22:38pm    
@Ali Al Omairi: Hi mate, using my answer you can set the tooltip for grirdview row by both design & code-behind way. You need to customize the code snippet, that's all. cheers.
Member 9603939 17-Nov-12 12:13pm    
Monjurul Habib 11-Apr-11 15:34pm    
i am trying to browse the link but unfortunately its not loading(The connection to the server was reset while the page was loading.).
thatraja 11-Apr-11 22:07pm    
It's opening dude, try again.
look here:

works fine

Rob K
Share this answer
Monjurul Habib 11-Apr-11 15:31pm    
link edited.

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