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.
Unfortunately, activation email could not send to your email. Please try again.

How can I set day in SfSchedule control?

Thread ID:





120675 Oct 2,2015 06:10 AM Oct 5,2015 07:09 AM Windows Phone 1
Tags: SfSchedule
Asked On October 2, 2015 06:10 AM

Good day!
Could you explain how can I set showing date in SfSchedule control for ScheduleType="Day"?

Vigneshkumar Ramasamy [Syncfusion]
Replied On October 5, 2015 07:09 AM

DIV style="MARGIN: 0px"> 
Hi Evgeny,
Thanks for using Syncfusion product.
Based on the given information, we predict that your requirement is to navigate to particular date. We can achieve this, by using the MoveToDate method in the schedule control. Refer to the following code example to use the MoveToDate method.
schedule.MoveToDate(new DateTime(2015, 10, 8));
To set visible dates, use the ScheduleDateRange property in the schedule control. You can use the following code example to set the date range.
    ObservableCollection<DateTime>selectedDates = new ObservableCollection<DateTime>();
            DateTime Date1 = new DateTime(2013, 9, 1);
            DateTime Date2 = new DateTime(2013, 9, 22);
            SfSchedule schedule = new SfSchedule();
            schedule.ScheduleDateRange = selectedDates;
Vigneshkumar R


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.