tooltip for linkbutton

J

JohnE

Have a gridview with a linkbutton on it that shows the ID number of the
record. I need to reference it inside of a tooltip. An example would be
"Click to view the detail for ... ". The linkbutton with the ID on it would
be needed.

How would it be referenced?

John
 
M

Mark Rae [MVP]

Have a gridview with a linkbutton on it that shows the ID number of the
record. I need to reference it inside of a tooltip. An example would be
"Click to view the detail for ... ". The linkbutton with the ID on it
would
be needed.

How would it be referenced?

I'd almost certainly do this as the GridView is being bound, i.e. in the
RowDataBound method. That way, you can simply pull the value out of the
DataRow directly without needing to reference any controls...
http://msdn.microsoft.com/en-us/library/aa479342.aspx
 
J

JohnE

That's the info I needed. I am using the RowDataBound but made a change to
the gridview and because of it some of the tooltips weren't showing the ID
number any longer and I was stumped on the referencing a linkbutton.
Thanks.
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How to position the *tooltip* comment on these buttons? 9
LinkButton 1
Tooltip with css_tt 3
simple detailview question 2
LinkButton fails in Firefox 1
OnClick LinkButton 5
tooltip / popups 6
Tooltip 17

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top