I'm trying to get values from a page's parent to display on the page.

<%!! Context:CurrentPage.MainLink.OwnerPage.Elements.GetElement
(stf_writer_name).Value !!%>,
<%!! Context:CurrentPage.MainLink.OwnerPage.Elements.GetElement
(stf_written_date).Value !!%>

The first of these which is a simple Standard Field works fine.
However the second is defined as being of "Date" format, and it
renders as "1/1/0001 12:00:00 AM" whereas the parent element value is
"29 April 2008".

I'm assuming this isn't working because it's of Date format. Is there
a way of rendering such values correctly on the page?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to