Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Is there a way to get the id of the page a grid editor is placed on?
Frans
I also see that the parent is empty, Maybe we can store the currentpage as IPublishedContent in there?
You can use this in razor: @UmbracoContext.Current.PublishedContentRequest.PublishedContent.Id
I forgot all about the context... Thanks!!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get the Id of the page where I place the grid editor
Hi,
Is there a way to get the id of the page a grid editor is placed on?
Frans
I also see that the parent is empty, Maybe we can store the currentpage as IPublishedContent in there?
You can use this in razor: @UmbracoContext.Current.PublishedContentRequest.PublishedContent.Id
I forgot all about the context... Thanks!!
is working on a reply...