Title disappears when Radpane is using Header and Title Template

2 posts, 0 answers
  1. Raj
    Raj avatar
    9 posts
    Member since:
    Oct 2012

    Posted 28 May 2013 Link to this post

    When we use template to decorate the Title/Header and its working fine as long as the pane doesn't gets detached.  The moment the radpane gets detached manually, the title/header disappears.  Radpane's are loading dynamically through the config file arrangements.  The header template is defined in the resource file and leveraged using properties defined.

    Your help is highly appreciated!
    Thanks in advance!
  2. Kalin
    Kalin avatar
    1283 posts

    Posted 28 May 2013 Link to this post

    Hello Raj,

    The Title and Header properties have different use in the Docking control by design. When the Pane is docked or floating it is showing the Title property and when is attached to the DocumentHost it is showing the Header property. I would suggest that you set one DataTamplate for the Pane HeaderTemplate and TitleTemplate properties to make them look the same way - please see the example below:

        <DataTemplate x:Key="CustomTemplate">
                <TextBlock Text="Custom Title and Header template."/>
                    <telerik:RadPane HeaderTemplate="{StaticResource CustomTemplate}" TitleTemplate="{StaticResource CustomTemplate}" />

    Hope this helps. If you have any other questions do not hesitate to contact us again.


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top