Hi,
Thanks for attached screenshot, but it is very difficult for me to guess what are the reasons for this issue in your sample, without to see your code. Could you please upload your sample (that reproduce the issue ) and I`ll be glad to research it for you.
Let me know if you have any questions.
Regards
Hi Georgi,
Thanks for you reply, Now its working fine in your sample. But i am still not able to figure out whats wrong in my code. The logic is something like this.
First of all i have listed out the Users in datatable ( Owner A , Owner B)
Now after that i have also listed out the Appointment for Owner A and Owner B.
When the Appointment is Bind with the Calendar it cause such issue in my Calendar But if i use the Single Owner its working fine. Just to let you know that my appointment window is custom one.
Am i Missing anything , Please let me know.
Here is the new sample
Hello Sanjeev,
Thank you very much for your response and video file. I was able to reproduce your issue, but it is a mistake in my code, because I remove the appointment from the same collection that I use for the loop. Please modify the sample with the code below:
private void ultraButton1_Click(object sender, EventArgs e)
{
Appointment[] appArray = new Appointment[ultraCalendarInfo2.Appointments.Count];
ultraCalendarInfo2.Appointments.CopyTo(appArray, 0);
foreach (Appointment app in appArray)
if (app.Tag == "OwnerA") ultraCalendarInfo2.Appointments.Remove(app);
}
foreach (Appointment app in ultraCalendarInfo1.Appointments)
byte[] appByteArray = app.Save();
Appointment appForOwnerB = Appointment.FromBytes(appByteArray);
appForOwnerB.Owner = ownerB;
appForOwnerB.Tag = "OwnerA";
ultraCalendarInfo2.Appointments.Add(appForOwnerB);
Please take a look on the new sample and video for more details. If you have any questions, feel free to write me
Here is the Snapshot