Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Remove SPAN tag when outputting a Web Label

Posted on 2004-03-26
1
Medium Priority
?
741 Views
Last Modified: 2007-12-19
I have a label on a Web Form called lblTest. I assign a value of "This is a Test" to the text property in the PageLoad event. When I load the page, it displays the data in a span tag like this:

<span id="menuSettings_lblTest">This is a Test</span>

When all I want is the text.  Any ideas on suppressing the span tag?

Thanks in advance!
0
Comment
Question by:krewson
1 Comment
 
LVL 1

Accepted Solution

by:
Webtologist earned 1500 total points
ID: 10693855
Use a literal control instead.  That renders as text only, no extra tags
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month21 days, 3 hours left to enroll

810 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