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.
I would like to do it, on client side, with javascript.
the following post http://forums.infragistics.com/forums/t/45550.aspx
shows how to do it in webdatechooser.
But I understand, that webdatechooser is obsolete.
I dont have it it my toolbox.
How to do the same thing in webdatepicker?
Hello drpoalim,Yes this is possible but if you add the rows via javascript they will not be available on the server on postback. I have modified the sample to add 11 November 2012 as a custom day via javascript. You have to create a new javascript object and set its properties which are relative to a day and then push this day in the custom days collection. If you have more than one ( which is most likely your scenario) please itterate in order to add all. If you have many custom days please consider to add them only when necessary in order to improve the performance.
I want to add the days, on client side, using javascript, and not hard coded,
since they change.
Can you please show a code for it..
Hello drpoalim,Please take a look at the attached from me sample. It uses a calendar and adds custom days to this calendar. Hope the sample helps you to achieve the design you are looking for.