Solved

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

Posted on 2009-04-03
3
542 Views
Last Modified: 2013-11-18
how to use Bind() or Eval() methods to bind asp:label control's text in a xslt file?
0
Comment
Question by:soma_gidugu
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
numberkruncher earned 500 total points
ID: 24076809
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
 
LVL 13

Expert Comment

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

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now