label without <span>

C

CLS

Howdy,

How do you write pure text out from a label? I don't want the <span> tags.

For example:


<script>
Owner_FullName.Text = "Lynn Solomon"
</script>

<html>
<asp:label id='Owner_FullName' runat='server' />
<html>

YEILDS:
<span id="Owner_FullName">Lynn Solomon</span>

I would like it to yield:
Lynn Solomon
 
E

Evertjan.

CLS wrote on 30 jun 2004 in microsoft.public.inetserver.asp.general:
For example:


<script>
Owner_FullName.Text = "Lynn Solomon"
</script>

<html>
<asp:label id='Owner_FullName' runat='server' />
<html>

YEILDS:
<span id="Owner_FullName">Lynn Solomon</span>

This is NOT ASP.

It could be ASP.NET, but in this classical ASP NG that is off topic and
certainly unknown to me.

Please se a dot.net NG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,227
Latest member
Daniella65

Latest Threads

Top