This is a migrated thread and some comments may be shown as answers.

Tooltip for RadListBox

1 Answer 74 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vimal Kanth
Top achievements
Rank 1
Vimal Kanth asked on 08 Nov 2008, 01:47 PM
Hi,

I want to display a common tooltip to all the items of RadListBox. I 'm aware it is possible to set tooltip for Individual items. But i don't want to set for individual items.
Please let me know how to do this.

Regards,
Vimal

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 10 Nov 2008, 10:42 AM
Hello Vimal Kanth,

Thank you for your question.

Please see the following sample code below:

private void Form1_Load(object sender, EventArgs e) 
{   
 
    this.radListBox1.ToolTipTextNeeded += new Telerik.WinControls.ToolTipTextNeededEventHandler(radListBox1_ToolTipTextNeeded); 
 
void radListBox1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e) 
 
     e.ToolTipText = "some tooltip"


Do not hesitate to write me back if you have further questions.

Kind regards,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Vimal Kanth
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or