<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by njapp</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/njapp/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by njapp</title>
		<link>http://channel9.msdn.com/Niners/njapp/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/njapp/Discussions</link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 06:08:06 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 06:08:06 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - Problem with HTMLAnchor and ASP.Net Cache</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">stevo_ said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">JChung2006 said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
That was already suggested over a year ago, the topic has since changed to a request about why HtmlAnchor acts like this.. but yes caching asp.net controls isn't suggested, theres potentially a lot of complex interactions with context that can go wrong given
 that controls can do absolutely anything.. and then theres weird bugs like this..</div></blockquote>J, I definitely wasn't suggesting that anyone caches control instances.&nbsp; I was just interested in why this bug occurs.&nbsp; More to the point, why this bug still occurs in
 3.5 SP1</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/252507-Problem-with-HTMLAnchor-and-ASPNet-Cache/9f8f04edb20048a8aa019dea0152b36b#9f8f04edb20048a8aa019dea0152b36b</link>
		<pubDate>Tue, 09 Sep 2008 05:33:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/252507-Problem-with-HTMLAnchor-and-ASPNet-Cache/9f8f04edb20048a8aa019dea0152b36b#9f8f04edb20048a8aa019dea0152b36b</guid>
		<dc:creator>Chuck Wagner</dc:creator>
		<slash:comments>16</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/njapp/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Problem with HTMLAnchor and ASP.Net Cache</title>
		<description><![CDATA[<p>A work around is to use the HtmlGenericControl instead of the HtmlAnchor.</p>
<p><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HtmlGenericControl href = new HtmlGenericControl(&quot;a&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; href.Attributes.Add(&quot;href&quot;, &quot;<a href="<a href="http://www.google.com">http&#58;&#47;&#47;www.google.com</a>/"><a href="http://www.google.com">http&#58;&#47;&#47;www.google.com</a></a>&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; href.Attributes.Add(&quot;title&quot;, &quot;Word!&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; href.InnerText = &quot;Google.com&quot;;</p>
<p>I'm still interested in determining what causes the href to be removed from the control when cached as a HtmlAnchor.</p>
<p>We've ruled out an overall problem with the AttributeCollection since the Title attribute is cached properly.&nbsp; Anyone else have an idea?<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/252507-Problem-with-HTMLAnchor-and-ASPNet-Cache/519d7c38123f45b6b2a09dea0152b2c8#519d7c38123f45b6b2a09dea0152b2c8</link>
		<pubDate>Sat, 06 Sep 2008 23:19:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/252507-Problem-with-HTMLAnchor-and-ASPNet-Cache/519d7c38123f45b6b2a09dea0152b2c8#519d7c38123f45b6b2a09dea0152b2c8</guid>
		<dc:creator>Chuck Wagner</dc:creator>
		<slash:comments>16</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/njapp/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Problem with HTMLAnchor and ASP.Net Cache</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">stevo_ said:</div><div class="quoteText">I think its because the HRef is stored within the attribute collection that is inherited from HtmlControl.
<br>
<br>
InnerText literally just adds a new LiteralControl inside the HRef controls and also adds the content to the viewstate.<br>
<br>
Not entirely sure why its doing this, but if its a problem with the AttributeCollection, you can expect it to lose the Title attribute as well, since that is also stored in the base classes AttributeCollection.<br>
</div></blockquote>stevo_ the problem seems to lie somewhere else because the Title attribute appears after retrieving the Cached control<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/252507-Problem-with-HTMLAnchor-and-ASPNet-Cache/9e5fd4b4b7c74e77ac019dea0152b29e#9e5fd4b4b7c74e77ac019dea0152b29e</link>
		<pubDate>Sat, 06 Sep 2008 14:44:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/252507-Problem-with-HTMLAnchor-and-ASPNet-Cache/9e5fd4b4b7c74e77ac019dea0152b29e#9e5fd4b4b7c74e77ac019dea0152b29e</guid>
		<dc:creator>Chuck Wagner</dc:creator>
		<slash:comments>16</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/njapp/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>