We have a requirement where we want to capture every details of the page such as its contents, permissions etc and put it into xml file every time page is published.
To achieve this we have following events captured in global.asx file where we can write code to save details in xml file.
Telerik.Cms.CmsManager.Executing += new EventHandler<
Telerik.Cms.CmsManager.Executed += new EventHandler<
//fails to capture contents in first call but get the content of the page in second call during the same publishing event
The issue with CmsManager_Executing event is that newly added contents just before publishing the page are not available. Basically Page’s control collection do now show controls just recently added to the page.
If I decide to execute this code inside CmsManager_Executed event, I do get the recently added contents but this event is fired several times during the publishing of the page and it fails to capture contents in its very first call.
Could you please suggest us the best way to carry out this kind of operations ?
Thanks and Regards,