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

Element is already the child of another element error

3 Answers 78 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 20 May 2011, 09:13 PM
I have a very simple project where I put a reference to the summer theme's version of ScheduleView.xaml into my App.xaml as a MergredDictonary and if I start the project in debug mode then close the browser I will get an error in Visual Studio's Error List window: Error 1 Element is already the child of another element. App.xaml 7 17 ScheduleViewDesign

Is there any way to fix this? I'm using Q1 2011 SP1.

See attached images

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 24 May 2011, 09:21 AM
Hi Scott,

You could try to set the full path instead of filename (e.g. /YourAssembly;component/FolderName/ScheduleView.xaml).
You have to remove /FolderName is ScheduleView.xaml is in project root.

Let us know if this helps.

Greetings,
Hristo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Scott
Top achievements
Rank 1
answered on 24 May 2011, 05:47 PM
Unfortunatelly that is what I'm already doing. See attached image. This should be easily reproducable in a simple application as I have done. Thanks for any help.
0
Boyan
Telerik team
answered on 27 May 2011, 09:42 AM
Hi Scott,

We managed to reproduce the problem, it appears that this is a problem with the design time of the control. If you close the design window of the .Xaml file where the ScheduleView is placed the error will disappear. This error should not have an impact on the application. However we will need some more time to investigate what exactly is causing this bad behavior and fix it.

Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.


Regards,
Boyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Scott
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Scott
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or