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

RadScheduler - Deletion not working

7 Answers 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rakesh
Top achievements
Rank 1
Rakesh asked on 21 Oct 2010, 04:38 PM
Hello Telerik team,

We are using your controls from last six months. Amongst the controls, we used RadScheduler Module.

Appointments adding, editing and deleting was working fine.

We recently upgraded our dll's to the latest version and "Appointment Deltion" is not working anymore.

This is the error message:
Error: Sys.InvalidOperationException: ManagedRuntimeError error #4009 in control 'Xaml1': Element is already the child of another element.

So, i am wondering to know what happened to the radscheduler deletion module and why it breaks.

Also this is of a very high priority because it's in our production and our clients are using it now.

So, Please come up with something as early as possible.

Also I am very disappointed with the fact that you guys upgrade dll's without doing enough testing on all ur controls.

Rakesh

7 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 22 Oct 2010, 07:48 AM
Hi Rakesh,

We are sorry to hear that you experience problems with our controls.

However this issue does not appear at our side. Could you try to reproduce it with our online examples? Also, could you give us details about the theme of the control that you use -Vista,OfficeBlack and etc, the version of the Sivlerlight plugin that you have installed and the  version of RadControls that you use? This will help us to provide you with a solution and more detailed information.

Regards,
Rosi
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
Rakesh
Top achievements
Rank 1
answered on 22 Oct 2010, 02:17 PM
Hello Telerik team,

Here are the details and version

SL 4, VS 2010. Telerik Silverlight Control

Version :2010.2.924.1040

Runtime version v2.0.50727

Theme:Default theme
0
Rosi
Telerik team
answered on 25 Oct 2010, 07:21 AM
Hi Rakesh,

Thank you for the provided files.

From the image that you sent to us I see that the scheduler is placed in some container. in this case I suggest you try the following things:
1)Set OpenModalDialogs="True" of RadScheduler.
2)move the scheduler outside the container and let us known if this helps
3) You can follow the link below where a detailed information how to debug the error is provided.
http://whydoidoit.com/2010/08/30/debug-xaml-element-is-already-the-child-of-another-element/

Also, if the things above do not help I suggest you send us sample running project illustrating the error to test it locally and provide you with a solution.

Greetings,
Rosi
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
Rakesh
Top achievements
Rank 1
answered on 25 Oct 2010, 03:58 PM
Hello Telerik team,

It's very frustrating about the fact that it was working earlier and it isnt working now. So I would love to see some fix instead of your suggestions

Scheduler is the only control in the xaml and as you may know I have to place it within a stackpanel or grid. So it would be great if you can simulate the same problem instead of suggesting stuff which isn't worth my time.

Databinding - Is done using RIA service.

Atleast in the future please do some enough testing before releasing

here is my xaml code

<

 

 

UserControl

 

 

 

x:Class="cmdiapp.dms.eventCalendar"

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"

 

 

 

xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"

 

 

 

xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"

 

 

 

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

 

 

 

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

 

 

 

xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"

 

 

 

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Scheduler"

 

 

 

xmlns:ria="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices"

 

 

 

mc:Ignorable="d"

 

 

 

>

 

 

 

 

 

<StackPanel>

 

 

 

 

<telerik:RadScheduler x:Name="schdlr_event" ViewMode="Month" OpenModalDialogs="True" >

 

 

 

 

<!-- Temporarily disabled, IsReadOnly="True"-->

 

 

 

 

</telerik:RadScheduler>

 

 

 

 

</StackPanel>

 

</

 

 

UserControl>

code-behind:

 

 

 

foreach (v_event_calendar item in _domS_dms.v_event_calendars)

 

{

Telerik.Windows.Controls.Scheduler.

 

Appointment _new_schedule = new Telerik.Windows.Controls.Scheduler.Appointment();

 

_new_schedule.UniqueId = item.UniqueId;

_new_schedule.Subject = item.Subject;

_new_schedule.Start = item.Start.Value;

_new_schedule.End = item.End.Value;

_new_schedule.IsAllDayEvent = item.IsAllDayEvent.Value;

_new_schedule.Location = item.Location;

_new_schedule.Body = item.Body;

_eventSchedules.Add(_new_schedule);

}

schdlr_event.AppointmentsSource = _eventSchedules;

0
Rosi
Telerik team
answered on 29 Oct 2010, 08:22 AM
Hi Rakesh,

We are sorry that you experience problems with RadScheduler for Silverlight. However, we are not able to reproduce the problem that you experience at our side.You can review our online examples for reference where everything works as expected. Could you try to reproduce the problem with them and let us known if the problem persist at your side?

You can also try to set a higher minRuntimeVersion of the Silverlight application:

<param name="minRuntimeVersion" value="4.0.50401.0" />


We will be happy to help you, but can't do anything more than just  providing suggestions without a sample running project that illustrates the problem.


Greetings,
Rosi
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
Rakesh
Top achievements
Rank 1
answered on 08 Nov 2010, 03:56 PM
I am not sure of what more info I can provide you

but nothing is helping me out.

More importantly the radscheduler is placed on a pop-up page,. May be this should help you to recreate the problem.

Thanks
0
Rosi
Telerik team
answered on 11 Nov 2010, 03:55 PM
Hello Rakesh,

We are not able to reproduce the problem at our side. Is it possible to open a support ticket and send us sample running project illustrating the problem? We will test it locally and provide you with more information.

Regards,
Rosi
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
General Discussions
Asked by
Rakesh
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Rakesh
Top achievements
Rank 1
Share this question
or