<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Dev Shack &#187; span</title>
	<atom:link href="http://www.thedevshack.com/tag/span/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedevshack.com</link>
	<description>Technology and Programming Blog</description>
	<lastBuildDate>Mon, 06 Jun 2011 00:13:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>.NET: Need To Drop The Span Tag From the Label Control? Use the Literal Control Instead</title>
		<link>http://www.thedevshack.com/net-need-to-drop-the-span-tag-from-the-label-control-use-the-literal-control-instead/</link>
		<comments>http://www.thedevshack.com/net-need-to-drop-the-span-tag-from-the-label-control-use-the-literal-control-instead/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 12:15:48 +0000</pubDate>
		<dc:creator>mfleming</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[label control]]></category>
		<category><![CDATA[span]]></category>

		<guid isPermaLink="false">http://www.thedevshack.com/?p=271</guid>
		<description><![CDATA[Have you ever had the need to use a label control, but you don&#8217;t need the span tag that the control automatically wraps around the text? Switch your control over to the Literal control instead. It serves the same general purpose as the label control, but will not wrap your output in those pesky span [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had the need to use a label control, but you don&#8217;t need the span tag that the control automatically wraps around the text?  Switch your control over to the Literal control instead.  It serves the same general purpose as the label control, but will not wrap your output in those pesky span tags.</p>
<p><code lang="csharp[lines]"><br />
<asp:literal text="Some random value" runat="server" id="myControl"></asp:literal><br />
</code></p>
<p>You can then use your normal server side code to the change the value, just as you would the label control:</p>
<p><code lang="csharp[lines]"><br />
myControl.Text = "My new random value"<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thedevshack.com/net-need-to-drop-the-span-tag-from-the-label-control-use-the-literal-control-instead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

