usmaan
-
6/21/2013 7:46:23 AM
Nested Macros in Transformation
I am trying to check the a boolean field in my transformation. If it is true, I want a <a href> tag to link the user to somewhere, otherwise, link them to somewhere else:
<%# Eval("DirectLinkFlag") == True ?%> <a href="<%#Eval("Link")%>"><%#Eval("DocumentName")%></a> : <%#Eval("DocumentName")%>
The above is not correct. Where am I going wrong?
|