Programatically updating selected version of page in EditMode

Vote:
 

I am using the EPiServer.Global.EPDataFactory.PublishedPage PageEventHandler to perform actions of some properties of a page that an edit mode user has published, and  republishing that page if I need to make any changes to the values of those properties. This works fine but if the edit mode user clicks the edit tab again he is shown the version of the page he published rather then the new version that was published in the EventHandler.

Is there any way I can make the selected version in edit mode be the most  recetly published version, via code in the EventHandler?

Thanks in advance for any assistance/ideas.

#33478
Oct 14, 2009 12:00
Vote:
 
I forgot to say that it's version 4.61.
#33480
Oct 14, 2009 12:11