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

i have problem with ThemeAwareBackgroundBehavior.IsEnabled="True"

1 Answer 182 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Masoud
Top achievements
Rank 1
Masoud asked on 11 Jul 2014, 03:02 PM
hi everybody
i wanna use raddocking
but when i want use telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" i get error

i add   xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=QuickStart.Common" but dont help me
in
some thread write
xmlns:tkqs="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
but this not work in my project
<Page x:Class="WpfAtestdock.Page1"
      xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=QuickStart.Common"
      mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Title="Page1">
 
    <Grid>
        <telerik:RadDocking BorderThickness="0" Padding="0" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" >
            <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup>
                    <telerik:RadDocumentPane Header="document1" Title="document1"/>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
            </telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="pan left1">
                        <TextBlock Text="pan left 1"/>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
                <telerik:RadPaneGroup>
                    <telerik:RadPane Header="pane left 2">
                        <TextBlock Text="pane left 2"/>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</Page>

please see my attach file
http://uplod.ir/jj74goijoexi/WpfAtestdock.zip.htm


error:
An unhandled exception of type 'System.IO.FileLoadException' occurred in PresentationCore.dll

Additional
information: Could not load file or assembly 'Telerik.Windows.Controls,
Version=2013.3.1016.40, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 14 Jul 2014, 10:32 AM
Hello Masoud,

The telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled property is used for the implementation of our examples. It is not Docking property and you don't need it to be able to create the example at all. So please try to remove that from the Docking definition and you will be able to build and run the same code without a problem.

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Docking
Asked by
Masoud
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or