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
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

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 …
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

739 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