Screentip Documentation and Examples

2 posts, 0 answers
  1. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 03 Mar 2011 Link to this post

    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
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 09 Mar 2011 Link to this post

    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!
  3. DevCraft banner
Back to Top