ToolTipText needed

4 posts, 1 answers
  1. Juan Pablo
    Juan Pablo avatar
    19 posts
    Member since:
    Oct 2008

    Posted 03 Dec 2008 Link to this post

    Look, I have a user control that works as a ToolBar that has some radbuttons on it. Those buttons are showing an image stored in the resources of the project, and I need to show a ToolTipText.

    First I set the needed text through the properties window of each button (inside the RootElement property), and it didn't work.

    Then I went to the designer.cs of the control and set manually the property (myButton.RootElement.ToolTipText = "some text"), and it didn't work.

    Then, inside the designer.cs of the control I set manually the property in this way: ((Telerik.WinControls.UI.RadButtonElement)(MyButton.GetChildAt(0))).ToolTipText = "Open Model";. And guess what? ... It didn't work also!

    Please help me, I don't know what else I can do.
  2. Answer
    Nikolay avatar
    1805 posts

    Posted 08 Dec 2008 Link to this post

    Hi Juan Pablo,

    Currently, we have an issue with the ToolTipText property serialization. This issue will be addressed in one of our next versions.

    Regarding your approach, if you manually insert a code line for this property in the designer and make even a small change in the user control, this line will be automatically removed.

    Therefore, I would suggest setting the ToolTipText property in the user control's constructor:

    public UserControl1()  
        this.radButton1.ButtonElement.ToolTipText = "Open Model";  

    I hope this helps. If you have additional questions, feel free to contact me.

    the Telerik team
    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Shirya
    Shirya avatar
    40 posts
    Member since:
    Sep 2008

    Posted 17 Aug 2009 Link to this post

    I have the same problem.
    Do you know when the issue will be corrected?
    thank you
  4. Nick
    Nick avatar
    767 posts

    Posted 18 Aug 2009 Link to this post

    Hello Shirya,

    The issue will be most probably fixed in the next release.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top