search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

CallBack Header Colour issue

Asked by Dan G
14 years ago.

Hi, ive found a issue with setting the header background colour in BeforeHeaderRender and changing the displayed day using a callback.
When doing a call back the header background isnt updated - even if implictyly set.
EG add these to the DateSwitching.aspx demo (and assign to the calinder.


DateTime dtCalinderDate; -- glbal var

protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
dtCalinderDate = DateTime.Parse("2007/1/1");
}
protected void DayPilotCalendar1_BeforeHeaderRender(object sender, BeforeHeaderRenderEventArgs e)
{

if (e.Date.Date == dtCalinderDate.Date)
e.BackgroundColor = "#FFD9CF";
else
e.BackgroundColor = "#ffffff";

}

Dan

Comment posted by Dan G
14 years ago.

bump...

Has this been addressed?

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.