Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
UltraDayView PerformAction method
posted

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

Parents
No Data
Reply
  • 69832
    Offline posted

    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.

Children