copy an existing page
I would like to programatically copy an existing SF page.
Could you please get me started in this regard? I have looked at the overloads of CreateNewStandardPage() but it is unclear to me if any of these creates a copy of an existing SF page.
Thanks
Hi Phil,
The PageManager supports two methods for duplicating a page
PageManager.CopyPageNode
PageManager.CopyPageData
CopyPageData(PageData sourcePage, PageData targetPage, CultureInfo sourceLanguage, CultureInfo targetLanguage, bool copyContentsFromSource)
CopyPageData has a parameter ""copyContentsFromSource" if set to true all content from the source page will be copied to the target page.
Regards,
Ivan Dimitrov
the Telerik team
For other SF Forum users: SiteFinity has corrected themselves on this.
The way to copy a page is here