Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3550
Mark holidays
posted

I have in my database days, which are not buisness dates(sundays, holidays).

I want to mark this days in red, in the date picker.

How can I do it?

Parents Reply
  • 13438
    posted in reply to DR

    Hello drpoalim,

    Did you have the chance to take a look at my last attached sample? You are trying to set the visible month by giving a string variable as an argument. It expects to invoke the function with a variable of type “Date”.

      var tmp = ig_controls.WebMonthCalendar1.get_visibleMonth();

                    tmp.setYear(2011);

                     tmp.setMonth(0);

                   

                    ig_controls.WebMonthCalendar1.set_visibleMonth(tmp);



    Please use this code as a template and set the year and the month according to the value that is kept in the hidden variable “
    CalendarVisibleMonth”.

Children