Hi there,
I'm trying to write a custom transformation for Category List web part. For each category I want a list of items for that category. Then I'll write some JS to show/hide each category contents.
Here's my transformation:
<%# Eval("CategoryDisplayName") %><br />
<cc1:cmsdatalist WhereCondition="DocumentID IN ( SELECT DocumentID FROM CMS_DocumentCategory WHERE CategoryID = <%# Eval("CategoryID") %> )"
ID="CarriersList" runat="server" ClassNames="Savo.Career"
TransformationName="Savo.Career.Preview"
SelectedItemTransformationName="Savo.Career.Default" RepeatDirection="Vertical"
RepeatLayout="Table" RepeatColumns="1" />
I'm getting this error:
[CMSDataProperties.LoadTransformation]: The server tag is not well formed.
The problematic part is "<%# Eval("CategoryID") %>". When I change that to a constant id it doesn't show the error anymore.
Does anybody know how to pass a dynamic parameter to the CMS control?
Thanks, Michal