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

Screentip Documentation and Examples

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vuyiswa
Top achievements
Rank 2
Vuyiswa asked on 03 Mar 2011, 10:41 AM
Good day All

I have noticed that there are some controls on my Silverlight toolbar that are from Telerik but they are not having any documentation on Telerik's site and no demo examples.I am trying to create my validation Summary that i will show from code behind when there are invalid input in my controls. I created Text-blocks and added them a stack panel and this contents are inside the Screentip, so the xaml look like this        

<telerik:ScreenTip x:Name="ToolTip" Title="Validation Summary" HorizontalAlignment="Center" Visibility="Collapsed" Margin="131,38,67,185" Width="450" LostFocus="ToolTip_LostFocus">
    <ItemsControl>
        <StackPanel Height="141" x:Name="PanelSummary" HorizontalAlignment="Left" Margin="78,353,0,0"     VerticalAlignment="Top" Width="455">
            <sdk:Label Height="27" Foreground="Red" Content="" Name="lblusername" Width="449" />
            <sdk:Label Height="27" Foreground="Red" Content="" Name="lblPassword" Width="449" />
            <sdk:Label Height="27" Foreground="Red" Content="" Name="lblTelephone" Width="449" />
            <sdk:Label Height="27" Foreground="Red" Content="" Name="lblProvince" Width="449" />
            <sdk:Label Height="27" Foreground="Red" Content="" Name="lblemail" Width="449" />
        </StackPanel>
    </ItemsControl>
</telerik:ScreenTip>

and i am showing the Screentip like this

ToolTip.Visibility = System.Windows.Visibility.Visible;


and the Tooltip shows , but it does not show my Controls(Textblock)

Thanks

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 09 Mar 2011, 03:45 PM
Hi Vuyiswa Maseko,

Please accept my apology for the delayed response.

The Screen Tip is a UI feature in which a small window appears when the mouse cursor is hovered over an icon or a ribbon element (command). You can find more info here.

As for defining a Validation Summery, it is best to take advantage of the ValidationSummary control, which implementation is demonstrated here.

Best wishes,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Vuyiswa
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Share this question
or