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

BeforeEventRender in DayPilotlite not hitting

Asked by Supriya
16 years ago.

Hi, I want to change the individual cell color in daypilot lite depending on certain condition. So, I've modified the source code by adding beforeeventrender handler like this

public class BeforeEventRenderEventArgs : EventArgs
{
private string value;
private string durationBarColor;
private string BackColor;

public string Value
{
get { return value; }
}

public string DurationBarColor
{
get
{
return durationBarColor;
}
set
{
durationBarColor = value;
}

}
public string BackgroundColor
{
get
{
return BackColor;
}
set
{
BackColor = value;
}

}


public BeforeEventRenderEventArgs(string value)
{
this.value = value;

}

}

Then I've added the daypilot calendar on my web page and Written some code the DayPilotCalendar1_BeforeEventRender(object sender, DayPilot.Web.Ui.BeforeEventRenderEventArgs e) event.

The problem is this event is not hitting when the page is loading..

Do I need to modify anymore in the source code?

Appreciate any help..

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