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
I have page in that page I created some nested content data. in that nested content I have model pop up functionality. By submitting button I need to get data in surface controller I'm passing key. but I'm unable get data using key how can i do this. Can any one please help me.
If you have Nested content you can get nested content item with this code:
var elementByKey = Model.Value<IEnumerable<IPublishedElement>>("alias").FirstOrDefault(x => x.Key == key);
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted