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

RadButton ButtonElement and Screen Tip

2 Answers 198 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Richard Slade
Top achievements
Rank 2
Richard Slade asked on 21 Jul 2009, 11:55 AM
Hi,

I was wondering why the ButtonElement of the RadButton is not available through the designer. I see that rootElement is, but if I add a screen tip to that, then the screen tip doesn't show, which is quite confusing.

I've had to add a shared method to our controls project to allow us to add screen tips to buttons like so..
 
 
    Public Shared Sub AddScreenTip(ByVal button As RadButton, ByVal headerText As StringByVal bodyText As String)  
        If Not button.ButtonElement.ScreenTip Is Nothing Then 
            button.ButtonElement.ScreenTip.Items.Clear()  
        End If 
        Dim Tip As New RadOffice2007ScreenTipElement()  
        Tip.CaptionLabel.Text = headerText  
        Tip.MainTextLabel.Text = bodyText  
        button.ButtonElement.ScreenTip = Tip  
    End Sub 
 
 

It seems strange to have to add screen tips this way. Could a Screen Tip interface be added to the RadButton at it's root level please?
Thanks

Richard

2 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 24 Jul 2009, 11:50 AM
Hi Richard Slade,

Thank you for writing. Actually, you can set screen tip in the designer by accessing RadButtonElement through Edit UI elements item in the smart tag of the RadButton. Nevertheless, we will consider to make an easier way about adding the screen tip to the RadButton. I have updated your Telerik points for bringing our attention to this. Write me back if you have other questions. 

All the best,
Martin Vasilev
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.
0
Richard Slade
Top achievements
Rank 2
answered on 24 Jul 2009, 05:09 PM
OK, thanks for your reply.
Richard
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Richard Slade
Top achievements
Rank 2
Answers by
Martin Vasilev
Telerik team
Richard Slade
Top achievements
Rank 2
Share this question
or