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

Month / DataResourceField Property

Asked by LarryDavidJr
12 years ago.

Hi,

When getting the EventMove server side event from the month control, it passes back a EventMoveEventArgs object. this has 'OldResource' and 'NewResource'.

When events post back there is no resource value set. It would seem that this can't be possible without setting a DataResourceField property a-la Scheduler control?

Or have I missed something?

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

You're right. This property is there because EventMoveEventArgs is shared by all controls. This is not the best design decision but the API change would break the existing implementations.

The 7.0 release will introduce a few API changes that were neccessary (e.g. BeforeEventRenderEventArgs classes are now separate for each control) so maybe this change will be done at the same time.

See also:

http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-0.html

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