November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Not sure if if affects anything, but have you tried changing the DataSource to protected instead of public?
And you have to render your property where you insert the dynamic content with a <episerver:property propertyname="nameofproperty" runat="server" />.
No we are currently not use the <episerver:property>, it turns out if we do use it, every thing works. So thanks for that.
But we do not wish to use it, we are currently using page type builder to create the page property's.
And if we use <episerver:property> the simple refactoring of a page name doesnt work since you then also have to change the propertyname of the <episerver:property> as well.
What we use today is this method:
<%= CurrentPage.MainBodyAsPresentationString(this) %>
public string MainBodyAsPresentationString(PageBase currentPage)
{
var mainBodyXHtml = this.GetProperty(page => page.MainBody) as PropertyXhtmlString;
return mainBodyXHtml.ToPresentationString(currentPage);
}
So is there a diffrent way of doing the same as the <episerver:property> ?
Yes, there is. See this forum post: http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=42957
I am using the EPiServer Property yet cannot get dynamic content to render, not even when inserting dynamic content (i.e. - the built-in page property) from TinyMCE. Any suggestions would be greatly appreciated.
Hi,
Im trying to make a EPiServer dynamic content control, the content i want is a usercontrol which i already made(a image slider).
Every thing seems to work just fine until i insert the dynamic content control unto the page/area i want to use it on.
When i now go to the page i have created only the "static" content:
GallerySlider.ascx.cs:
GallerySlider.cs
On the page only the header and textbox(without the text set serverside) is displayed. And if i try to debug, it never goes serverside at all it seems.
What am i doing wrong ?
Why is the UserControl not rendered ?
Thanks for any reply.