A Jax I have not learned in detail, but I can see on the Internet that the implementation based on a certain technology can be called A Jax . In my understanding, the date control is based on A Jax . The biggest feature of this date control is that it is based on XMLHTTP But also supports All features of the system. Web. UI. webcontrols. Calendar control, date selection event and date binding event. When processing pages based on XMLHTTP requests, unnecessary functions such as pageload events are often handled too much; the control does not do this. It blocks processing during the oninit process of the control.
You can useDayitemcreating event, changing the display of the current date and adding attribute display.
Private VoidCalendar2_dayitemcreating (ObjectSource, hfsoft. Web. eventdayitemargs E)
{
If(E. Item. Date. month = 7 & E. Item. Date. Day = 6)
{
E. Item. Text + ="<Br> Birthday";
E. Item. Attributes. Add ("Bgcolor","# Ff9966");
}
}
Private VoidCalendar1_dayitemcreating (ObjectSource, hfsoft. Web. eventdayitemargs E)
{
If(E. Item. Date. Day = 28)
{
E. Item. Text + ="<Br> pay rent";
E. Item. Attributes. Add ("Bgcolor","# Ff9966");
}
}
For more information, see examples and controls.Code.
download the example source code download