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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I set day in SfSchedule control?

Thread ID:





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

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 11:09 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon