G
Guest
Dear all,
I have a webform with a calendar control on it. When loaded the calendar is
set to the current date. Depending on a criteria from a database field,
calendar day cell appears with red background color for the selected month.
This is done by using the Calendar_DayRender event. This works fine
What I need to do next is that if my user click on either the NextMonth or
PrevMonth, I should get the same behaviour for day cells background. In the
sense that if there is a day from the database from that new selected month
that havve this particular criteria, the background color of the cell smust
also be in red color.
Problem I have is that DayRender event is not trig anymore as long as
control is loaded. Then I have try to use the VisibleMonthChanged event but
how can get then scan day cells in order to change the style ?
thnaks for your help
regards
serge
I have a webform with a calendar control on it. When loaded the calendar is
set to the current date. Depending on a criteria from a database field,
calendar day cell appears with red background color for the selected month.
This is done by using the Calendar_DayRender event. This works fine
What I need to do next is that if my user click on either the NextMonth or
PrevMonth, I should get the same behaviour for day cells background. In the
sense that if there is a day from the database from that new selected month
that havve this particular criteria, the background color of the cell smust
also be in red color.
Problem I have is that DayRender event is not trig anymore as long as
control is loaded. Then I have try to use the VisibleMonthChanged event but
how can get then scan day cells in order to change the style ?
thnaks for your help
regards
serge