Icons dont show up at runtime

2 posts, 1 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 18 Feb 2011 Link to this post


    I've followed the steps for showing icons on the panes headers, but none show up at runtime. Some show up at design time.
    Here are two pictures showing design time and run time.

    I have created proper Data Template as following:
    <DataTemplate x:Key="DocumentTemplate">
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="{Binding}"/>
            <Image Source="/Images/Icons/Documents-stack.png" Width="16" Height="16"/>

    and attached the template as following:
                <telerik:RadPane Header="Documents" CanFloat="False" CanUserClose="False" CanUserPin="False"
                CanDockInDocumentHost="False" HeaderTemplate="{StaticResource DocumentTemplate}"/>

    The second problem is that, for "Filing" & "viewer" pane, the icons don't show up at design time either.

    Please advise!
  2. Answer
    Konstantina avatar
    2332 posts

    Posted 23 Feb 2011 Link to this post

    Hi Ben,

    Please find attached a sample project in which I have tried to reproduce the issue that you are describing. The icon is displayed as expected. Also, to make it work for the Pane outside the DocumentHost, you will have to set its TitleTemplate, instead of HeaderTemplate.
    Please feel free to modify the project in order to show the issue.

    Hope this helps. Please let us know if you have further questions.

    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 R3 2016 release webinar banner
Back to Top