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

How to get parent resource id

Asked by Anonymous
7 years ago.


I created Dynamically resource tree.

i'm able to get child resource id using e.NewResource in OnEventMove method but i want "Parent Resource ID".

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

You should be able to do this:

Resource r = DayPilotScheduler1.Resources.FindById(e.NewResource);
Resource parent = DayPilotScheduler1.Resources.FindParent(r);
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.