We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Go to Today

How can I programmatically go to Today so that it is displayed in the calendar and side navigation? I have unsuccessfully tried both of:
 
schedule.Calendar.DateValue = DateTime.Now;     
schedule.Calendar.SetDateValue(DateTime.Now);

1 Reply

VK Vinish Kumar K Syncfusion Team February 18, 2014 04:37 AM UTC

Hi kerl,

Sorry for the delay.

you can try the below code to navigate the date selection in schedule grid please refer the below codes.

            scheduleControl1.Calendar.SelectedDates.Clear();
            scheduleControl1.Calendar.SelectedDates.Add(DateTime.Now);

I hope this will help you to get the correct solution regarding your issue.

please let me know if you have any concerns.

Regards,
Vinish K.

Loader.
Live Chat Icon For mobile
Up arrow icon