Good morning, I need to execute the PerformAction method on a UltraDayView component. The PerformAction should be scroll to next day, but when I execute, it returns false. The CurrentState property has value of 2560. How can I do for achieve that?
Thanks at all,
Mirko
Hi Brian, below the code I use
AppuntamentiUltraDayView.PerformAction(Infragistics.Win.UltraWinSchedule.UltraDayViewAction.PreviousVisibleDay)
or
AppuntamentiUltraDayView.PerformAction(Infragistics.Win.UltraWinSchedule.UltraDayViewAction.NextVisibleDay)
I try your solution but the results is the same, the UltraDayView remains on the same day and the PerformAction method returns False.
Have you an idea? Thanks in advance.
I called PerformAction with the 'SameTimeSlotNextDay' constant (the only one I could think of that would be used to "scroll to next day") and it worked as expected:
private void button1_Click(object sender, EventArgs e){ this.dayView.Select(); this.dayView.PerformAction(UltraDayViewAction.SameTimeSlotNextDay);}
If you repost with the exact name of the UltraDayViewAction constant you are using, or a short code example, we can try to help you.