I have an ultraDayView and below it there is ultraTimeLine. Both are connect to the same UltraCalendarInfo. Dragging appointment on the ultraDayView is synchronize with the ultraTimeLine and as you move the appointment on the ultraDayView you can see that its moving on the ultraTimeLine, But if you dragging appointment on the ultraTimeLine the same appointment on the UltraDayView is not moving and not relocate on the correct time slot, only when done dragging and on after click time slot on ultraTimeLine the appointment on the ultraDayView will correct to the exact time position .
Should it function the same - I mean dragging appointment on UltraTimeLine should move the same appointment on the ultraDayViw as you drag the appointment?
Please advice.
Thanks.
I have just installed last service release(NetAdvantage_WinForms_20092_SR_2035) and find out that this bug is fixed.
Thanks..
That is a bug which will be addressed in a forthcoming service release. In the meantime, you can apply the following workaround:
private delegate void AppointmentsDraggingAsyncDelegate( AppointmentsDraggingEventArgs args );
this.timeLineView.AppointmentsDragging += new AppointmentsDraggingHandler(timeLineView_AppointmentsDragging);
void timeLineView_AppointmentsDragging(object sender, AppointmentsDraggingEventArgs e){ UltraTimelineView timelineView = sender as UltraTimelineView; this.BeginInvoke( new AppointmentsDraggingAsyncDelegate(this.OnAppointmentsDraggingAsync), new object[]{e} );}
private void OnAppointmentsDraggingAsync( AppointmentsDraggingEventArgs args ){ this.dayView.UIElement.DirtyChildElements(true); this.dayView.Update();}