Andy Green
asked on
Add tooltip to RadioButtonList
Hi
I have a radio button list that I bind data to in code:
With rblFollowUp
.Items.Clear()
.Items.Add(New ListItem("", 0))
.DataSource = po_ds.Tables(0)
.DataTextField = "Question"
.DataValueField = "StatusID"
.ToolTip = "QuestionToolTip"
.DataBind()
End With
Both the textfield & dataValue are text values relating to data items from the DB
I want to add a tooltip to each node from the database, but using my code above thay all have the tooltip "QuestionToolTip". Its not bindning to that data rather its using the string value.
Andy Ideas.
Andy
I have a radio button list that I bind data to in code:
With rblFollowUp
.Items.Clear()
.Items.Add(New ListItem("", 0))
.DataSource = po_ds.Tables(0)
.DataTextField = "Question"
.DataValueField = "StatusID"
.ToolTip = "QuestionToolTip"
.DataBind()
End With
Both the textfield & dataValue are text values relating to data items from the DB
I want to add a tooltip to each node from the database, but using my code above thay all have the tooltip "QuestionToolTip". Its not bindning to that data rather its using the string value.
Andy Ideas.
Andy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, does this mean I have to change my databinding method? I have a dataset not a datareader.
Andy
Andy
ASKER
Had to change my Databind method but its working fine now.
Andy
Andy
http://forums.asp.net/t/1588477.aspx