SaaS CMS has officially launched! Learn more now.
Hi I have a blog page with mainbody as xhtmlstring property.
in some other page i want to display this blog page data. but how to get mainbody property value.
here am not getting main body property directly like teaser text.
@if (page is SitePageData) { var withTeaserText = (SitePageData)page; @withTeaserText.TeaserText.Take(100).ToArray() }
@withTeaserText.TeaserText.Take(100).ToArray()
Hi I have a blog page with mainbody as xhtmlstring property.
in some other page i want to display this blog page data. but how to get mainbody property value.
here am not getting main body property directly like teaser text.
@if (page is SitePageData)
{
var withTeaserText = (SitePageData)page;
@withTeaserText.TeaserText.Take(100).ToArray()
}