Tooltip for RadListBox

Thread is closed for posting
2 posts, 0 answers
  1. Vimal Kanth
    Vimal Kanth avatar
    3 posts
    Member since:
    Mar 2008

    Posted 08 Nov 2008 Link to this post


    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.

  2. Nick
    Nick avatar
    767 posts

    Posted 10 Nov 2008 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top