[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

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?
0
soma_gidugu
Asked:
soma_gidugu
  • 2
1 Solution
 
numberkruncherCommented:
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

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now