Moving page event

Vote:
 

Say I have Page structure like this

A

--Page1

B

--Page2

 

I drag page2 to the root level of A.

I would like to know how i can determine programatically what the old path was for this page ( B--page2).

The moving page event seems to only give me the target path (A--page2)

Any ideas of how I can get hold of this value ?

Thanks

 

#66306
Feb 26, 2013 17:16
Vote:
 

If you're listening to the 'moving' event and not 'moved' event the PageLink property in PageEventArgs should be the current parent.

#66312
Feb 26, 2013 18:45
Vote:
 

Thanks Johan. I am testing it in version 6 so might have been a bug there which was fixed in later versions. Will test it in version 7 to see if I can replicate the issue.

#66337
Feb 27, 2013 13:13