how to add tooltip to the Radiobuttonlist items
-
Hi i have a Radiobuttonlist which has 8 items..i need to add tooltip to each and every radiobutton item in the list using c#. Can u plz give me suggestions to add tooltips for the items in Radiobuttonlist.. thanks in advance Sunita -- modified at 4:07 Monday 7th August, 2006
-
Hi i have a Radiobuttonlist which has 8 items..i need to add tooltip to each and every radiobutton item in the list using c#. Can u plz give me suggestions to add tooltips for the items in Radiobuttonlist.. thanks in advance Sunita -- modified at 4:07 Monday 7th August, 2006
hi try this 1.Add items in Page_load. Eg:
Radiolist.Items.Add(new ListItem("yes","1")); Radiolist.Items.Add(new ListItem("No","2"));
2.Then add tool tip for thisRadiolist.Items[0].Attributes.Add("title", "enter tooltip text here"); Radiolist.Items[1].Attributes.Add("title", "enter tooltip text here");
cheers sangeet