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 used this code to view list of News in home page . what about if admin add new content with New Id .
Is there another way to load list ???
Try this to get the news top node.
var newsOverview = Umbraco.TypedContentAtRoot().DescendantsOrSelf("NewsOverview").FirstOrDefault();
thanks Very Much
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted