Dynamic content implementation not working:
-
Are you using the XhtmlString Property. You can add a dynamic property with the PropertyLongString, but it want render.#30179 Jun 04, 2009 15:07
-
Thanks for the quick response Anders, yes it is a XHTML string (>255).
It is the main content area.
-
-
Are you using the episerver property control when rendering your content? CurrentPage["MainBody"] won't parse the dynamic content span tag.#30182 Jun 04, 2009 16:46
-
The page type is called "[Public] Standard Container" and is implemented this way:
http://paste.ideaslabs.com/show/jbDzIkPcwU
Do I need an EPiServer:Property here? I'm fairly new to epi server.
Thanks Peter.
-
You were right Peter, I had a direct access to the code behind property #MainBody and now substituting it for the EPiServer:Property PropertyName="MainBody" runat="server" finally outputs the expected!! (Hello from About 'Page Name'!)#30185 Jun 04, 2009 17:42
Thanks for your help guys!!Otavio Soccol
I have implemented a test as simple as I could so here is the class:
http://paste.ideaslabs.com/show/S144ClmGjH
After doing that I have registered the dynamic content on the config file.
So then on the html editor "edit mode" I have added my property to the page and published it. Now when I load the page I get to see the same I see in the xhtml editor.
"DinamicContent : DynamicTest wrapped on curly brackets."
Any suggestions??? I'm probably missing something trivial.
Thanks in advance.
Otavio