Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147084 | Aug 31,2019 10:51 AM UTC | Sep 2,2019 01:36 PM UTC | WinForms | 1 |
![]() |
Tags: SfCalendar |
if (e.NewValue.Start >= new DateTime(year, 04, 01) && e.NewValue.End <= new DateTime(year, 12, 31))
{
e.Cancel = true;
}
if(e.Cancel)
{
year++;
this.sfCalendar1.GoToDate(new DateTime(year, 1, 1));
}
|
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.
This page will automatically be redirected to the sign-in page in 10 seconds.