I have build a user control that contains a UltraDayView with a UltraCalenderInfo object. The calendarInfo object has multiple owners, which i then create multiple appointments within these owners with time slices from a database. The problem is that sometimes, when the appointments appear, there appears to be double appointments in one slot. I have verified the appointments collection for the calendar info object, and there is no duplicate time appointment object for this owner. When selecting one, they both become selected, and when editing one using the built in editor, they suddenly become just one appointment again. Has this problem ever been seen before?
The behavior that you have described seems very strange to me. It seems that somewhere in the code you have added one "appointment" twice in CalendarInfo. Could please try to isolate this in a sample only with UltraDayView and UltraCalendarInfo to illustrates this behavior. If this behavior is happened very rarely, could you please give me more details about the steps you did?
I am waiting for your response.
I will work on an example, but I wanted to add a couple more comments first, see if anything else comes up. For this user Control, I have sometimes up to 7 or 8 displayed on one MDI child form, that has an ultra panel docked in the form, and the User Controls are added to this panel. The auto scroll property is set to true so no matter how big the mdi chiild gets, it will be scrollable in the MDI parent.
I have verified several times that there are no duplicate appointment object in the collection, and seems to happen on a random basis.
USER CONTROL DESCRIPTION: i have an initialize method on each control that gets back 2 datasets from a webservice, and then splits those up into 3 owners (1 with one dataset, 2 with the other). I then create all the appointment object, and add them to the calendarInfo object. This can happen up to 8 times on a form with the UC's being placed right next to each other.
The attached file demonstrates the issue. Actually, after further investigation, it does not seem to be an issue with the user control and UC's on a form. It has to do with the first time slice. Please review and let me know what you think is causing the issue
I am not able to reproduce the mentioned behavior with one of the following versions: NetAdvantage 9.2 and 10.1. So what you could do first it to download the latest service release for your version or download the free trial version of the latest version of NetAdvantage which is 10.3 and then verify the behavior of your sample at your end.
Please let me know if I can assist you further.
I have upgraded the project to 10.3, and the problem still exists. It seems to be a problem with certain timeslices. Please advise further troubleshooting action. Thanks