Hi,
your code was working for me. I only need to reformat it:
<strong><a href="<%# ResolveUrl(GetUrl( Eval("NodeAliasPath"), null)) %>">
<%# Eval("DocumentName") %></a></strong>
<br />
<cc1:CMSDataList ID="CMSDataList1" runat="server" ClassNames="cms.article" Path='<%# Eval("NodeAliasPath") %>'
TransformationName="cms.article.GreatGivingRelatedArticles" RepeatColumns="2" >
</cc1:CMSDataList>
<script runat="server">
protected void Page_PreRender(object sender, EventArgs e)
{
CMSDataList1.ReloadData(true);
}
</script>
I tested functionality on Examples - Listing and Viewers - Related Documents (default Corporate site). I added article to related documents (in Properties of document) and TeaserText was displayed correctly.
In your case GreatGivingRelatedArticles transformation shows some data (H3, Read More). It means that root transformation found some documents of cms.article type.
1. If ArticleTeaserText was not displayed it could be empty. Could you please verify it?
2. Could you please check if ArticleTeaserText column exists in cms.article document type?
3. Could you please insert following code into GreatGivingRelatedArticles tranformation for testing purposes.
<p>Document name: <%# Eval("DocumentName") %></p>4. What was the URL created in Read More> link?
Best regards,
Ivana Tomanickova