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

[Solved] Docking Errors

10 Answers 184 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paul
Top achievements
Rank 1
Paul asked on 05 Feb 2009, 06:02 PM
I am having an issue trying to get the docking control to work...at all. I am trying to add a docking control to my application and it throws an AG_E_UNKNOWN_ERROR [Line: 16 Position: 105] when the page loads. However, the xaml preview is displayed with no problems.

I have tried reinstalling the .ddl a couple of times and the "Docking" page does not show up when I execute the example code from the installation.

Here is the code:

<UserControl x:Class="Test_Application.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
 xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
 xmlns:radDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"
 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 mc:Ignorable="d"
 xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
  xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" Width="Auto" Height="Auto" x:Name="ucMain">
  <Grid Grid.Row="3">
        <radDock:RadDocking x:Name="rdDocking" >
            <radDock:RadSplitContainer InitialPosition="DockedLeft">
                <radDock:RadPaneGroup>
                    <radDock:RadPane Header="Pane Left 1" IsPinned="False" Content="Pane Left 1" x:Name="pane1" />
                    <radDock:RadPane Header="Pane Left 2" IsPinned="False" Content="Pane Left 2" x:Name="pane2" />
                    <radDock:RadPane Header="Pane Left 3" IsPinned="False" Content="Pane Left 3" x:Name="pane3" />
                    <radDock:RadPane Header="Pane Left 4" IsPinned="False" Content="Pane Left 4" x:Name="pane4" />
                </radDock:RadPaneGroup>
            </radDock:RadSplitContainer>
        </radDock:RadDocking>
 </Grid>
</UserControl>

10 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 06 Feb 2009, 09:14 AM
Hi Paul,

We have seen this behavior on some machines and we are investigating it.
Can you try to create new RadPaneGroup object in your application constructor (before InitializeComponent method)?

Let me know if this helps.

Best wishes,
Hristo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Acid
Top achievements
Rank 1
answered on 11 Feb 2009, 05:58 PM
I've got the same problem as Paul.

creating new RadPaneGroup doesn't fix the problem for me. If it helps... I'm working with VS2008 and Vista Ultimate.
0
Hristo
Telerik team
answered on 12 Feb 2009, 09:44 AM
Hello Acid,

Can you open a support ticket and attach simple project demonstrating this issue please?
It will be much easier for us to investigate. Thanks.

All the best,
Hristo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christopher Jenkins
Top achievements
Rank 1
answered on 13 Feb 2009, 11:14 PM
I think the error I'm getting is the same as the one originally posted: Sys.InvalidOperationException: Invalid XAML for control 'Xaml1'

The strange thing is that I can tweak the example code, build it and run it just fine.  The examples project must be doing something differently that is making it work.  Might have something to do with the Telerik.Windows.Examples.MainPage class but I'm not sure.

Do you still need a project demonstrating this error?  I can provide one if necessary.

0
Hristo
Telerik team
answered on 16 Feb 2009, 04:43 PM
Hi Christopher Jenkins,

Yes, a project will be of great help although I believe that this error is because of the XAML Parser.

Best wishes,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Christopher Jenkins
Top achievements
Rank 1
answered on 17 Feb 2009, 04:44 AM
I submitted the project.  It's ticket #191566.

0
Carlos Alberto
Top achievements
Rank 1
answered on 12 Mar 2009, 03:12 PM
I am having the same problem.
Any solution?
I am evaluating "Silverlight UI Controls" but I'm having a lot of problems.
This error Dock is almost making me give up the evaluation of the product.
Nor can run themes
0
Miroslav Nedyalkov
Telerik team
answered on 12 Mar 2009, 06:50 PM
Hi Carlos Alberto,

The Docking control is currently in CTP stage so having problems is normal. All known issues should be fixed in the official release (later today). In this release the Docking control is final version and is more stable, have themes and more features.

Best wishes,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Carlos Alberto
Top achievements
Rank 1
answered on 12 Mar 2009, 11:49 PM
How to use themes for the entire application?
0
Hristo
Telerik team
answered on 13 Mar 2009, 09:21 AM
Hello Carlos Alberto,

Please look at this post about setting application wide themes:
http://www.telerik.com/community/forums/silverlight/general-discussions/apply-themes-on-radcontrols-q1-2009.aspx#766512

Regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Docking
Asked by
Paul
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Acid
Top achievements
Rank 1
Christopher Jenkins
Top achievements
Rank 1
Carlos Alberto
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or