I need to be able to move activities from one resource to another by dragging. I have set the AllowDragging Property to "AcrossResources", however I am not able to move an activity from one resource to another.
I looked up the help document and here is what I found:
However note that the underlying schedule data connector may impose limitations on whether an activity's resource calendar or resource can be changed or not, in which case regardless of what this property is set to, the underlying schedule data connector restriction will be effective.
However, it does not state what the limitations set by the custom objects are. Is there something we should take care of in the custom objects or in the proeprty mapping to allow this to happen.
Please Suggest.
Thank You,
Hariharan
The reason is that moving between calendars is only supported when the connector (and settings) are such that adding and removing activities are allowed since implicitly that is what you are doing - removing from one calendar and adding to the other. In this case your appointment's itemssource is readonly (since its linq generated) so the drag operation is not allowed.
Please find attached a sample project where i am not able to drag activities across resources.
This should be allowed as long as the connector supports having an activity added/remove since we are in essence removing an activity from one resource calendar and associating it with another. The sample I posted in response to one of your other posts has this working when bound to custom objects. If you still have an issue then please post a sample that demonstrates the issue you are having.