London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Moving page event

Vote:
0

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:
0

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:
0

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
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.