Intersoft Support Center

Customize DateTime Editor Holiday dates

You can customize DateTime holidays dates of WebInput.

In this topic, you will learn how to customize WebInput holidays dates.

To customize DateTime Editor holidays dates

  1. Right-click on WebInput control and choose Properties.
  2. Expand DateTimeEditor. Set IsEnabled to True and SkipNavigateHoliday to True.
  3. Go to SpecificYearHolidays and click the collection button.
  4. Add a member. Set Date to 10th January 2007 like following.

    Holiday

  5. Run the Project.

    Result
WebInput also provides UnSpecificYearHolidays property. It means that the holiday will be the same each year, for example Christmas will always be at 25th December every year.
Previous Next