Prompted by a conversation at: http://compositec1.codeplex.com/discussions/430310
Please could we have a new public function, that when you supply it with a PageId and PlaceHolderId, will output the HTML from the content block of another page?
This will allow users to duplicate content from one page/area of a website into another, without having to copy/paste every time the original page is edited.
Comments: ** Comment from web user: Hainesy82 **
Please could we have a new public function, that when you supply it with a PageId and PlaceHolderId, will output the HTML from the content block of another page?
This will allow users to duplicate content from one page/area of a website into another, without having to copy/paste every time the original page is edited.
Comments: ** Comment from web user: Hainesy82 **
@burningice
That's very helpful, but doesn't work because you can't call GetType() or 'Data' from a static context
I'm not quite sure how to get the type of my razor function?