Thank you for using our services.
Let me try to address the above queries in my response.
1) We are aware of such issues when reordering pages and are going to resolve them in our next releases of the system. Unfortunately the breadcrumb control is not yet part of the release, however this one is a must. You can create a custom breadcrumb control using the Pages API. The bellow code gets your current page:
SiteMapNode currentNode = SiteMapBase.GetCurrentProvider().CurrentNode;
PageSiteNode node = (PageSiteNode)currentNode;
var page = App.WorkWith().Pages().Where(p => p.UrlName == node.UrlName).Get().First();
Then you can get the page's parent, until you reach the sitemap root node and construct a bread crumb. However here you can work only with SiteMapNode and get its url and parent - no need to get the page.
2) What you are experiencing is that the Content Block is creating another instance of content. By default the Content Block should create stand alone content items and not share them in Generic Content module unless you choose to share the content. The behavior will be similar as in Sitefintiy 3.x and Generic Content control. The Content Block control however is not fully implemented and is still missing the functionality for selecting shared content or sharing content.
Furthermore when you use Fluent API you should get content item by its status. Since our content items have life cycle and different stages you should be getting only published ones (this is why you receive two instances for two items).
When you are getting content items by them selves cannot be displayed. You need a control such as News View, Content Items List placed on a page and then you append the content item's url to this page's url and you will be able to link to the item. Bellow is some sample code to help you achieve this:
TestPage : System.Web.UI.Page
sender, EventArgs e)
var contentPage = App.WorkWith()
.Where(p => p.Title ==
var pageUrl = contentPage.GetFullUrl();
.Where(c => c.Status == Telerik.Sitefinity.GenericContent.Model.ContentLifecycleStatus.Live)
var cntUrl = c.Urls.FirstOrDefault();
As you may notice I am looking for a page with particular title - this page contains a content view control which will display my generic content item when the link generated is clicked.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items