Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Buttons, RadioButton, CheckBox, etc > ToolTipText needed

Answered ToolTipText needed

Feed from this thread
  • Juan Pablo avatar

    Posted on Dec 3, 2008 (permalink)

    Hello!
    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.

    Reply

  • Answer Nikolay Nikolay admin's avatar

    Posted on Dec 8, 2008 (permalink)

    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()  
    {  
        InitializeComponent();  
     
        this.radButton1.ButtonElement.ToolTipText = "Open Model";  

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

    Regards,
    Nikolay
    the Telerik team

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

    Reply

  • Shirya avatar

    Posted on Aug 17, 2009 (permalink)

    Hello,
    I have the same problem.
    Do you know when the issue will be corrected?
    thank you

    Reply

  • Nick Nick admin's avatar

    Posted on Aug 18, 2009 (permalink)

    Hello Shirya,

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

    Sincerely yours,
    Nick
    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Buttons, RadioButton, CheckBox, etc > ToolTipText needed
Related resources for "ToolTipText needed"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]