Link to home
Start Free TrialLog in
Avatar of Andy Green
Andy GreenFlag for United Kingdom of Great Britain and Northern Ireland

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
ASKER CERTIFIED SOLUTION
Avatar of Pratima
Pratima
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andy Green

ASKER

Thanks, does this mean I have to change my databinding method?  I have a dataset not a datareader.

Andy
Had to change my Databind method but its working fine now.

Andy