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

How to show the different color for each type of Event (MVC doen't have e.DataItem)

Asked by JBatista
10 years ago.

I saw this similar question:
http://forums.daypilot.org/Topic.aspx/1727/how-to-show-the-different-color-for-the-different-kind-of-a

How can I do the Exact same thing on the MVC version? I dont have the "e.DataItem" on the method:

protected override void OnBeforeEventRender(BeforeEventRenderArgs e)

How can I access the Event Data? (without quering again the database)

Comment posted by Dan Letecky [DayPilot]
10 years ago.

e.DataItem will be added to BeforeEventRenderArgs soon. I will keep you updated.

Answer posted by Dan Letecky [DayPilot]
10 years ago.

It's now available in build 5528. See the sandbox:

http://mvc.daypilot.org/sandbox/

Comment posted by Aaron Coppock
10 years ago.

I cant seem to get the event to fire, how do I hook it to make it fire

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