how to use Bind() or Eval() methods to bind asp:label control's text in a xslt file?

how to use Bind() or Eval() methods to bind asp:label control's text in a xslt file?
soma_giduguAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
numberkruncherConnect With a Mentor Commented:
Give the following a try, it works for me:
<xsl:attribute name="Text">
   <xsl:text>&#x3C;% Bind(...) %&#x3E;</xsl:text>
</xsl:attribute>

Open in new window

0
 
numberkruncherCommented:
Just to clarify, that produces the following output for a label:
<asp:Label Text="<% Bind(...) %>" />

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.