<?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>Elven Soft Blog &#187; ASP.NET</title>
	<atom:link href="http://blog.elvensoft.ro/category/aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.elvensoft.ro</link>
	<description>Microsoft.net, marketing, software and internet solutions</description>
	<lastBuildDate>Thu, 19 Aug 2010 07:03:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IIS Media Services</title>
		<link>http://blog.elvensoft.ro/2009/07/iis-media-services/</link>
		<comments>http://blog.elvensoft.ro/2009/07/iis-media-services/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 22:05:40 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=45</guid>
		<description><![CDATA[IIS Media Services inseamna o platforma HTTP care poate face streaming True HD (720p+). Se instaleaza peste IIS 7.
Vezi filmulet de test.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iis.net/media" target="_blank">IIS Media Services</a> inseamna o platforma HTTP care poate face streaming True HD (720p+). Se instaleaza peste IIS 7.</p>
<p><a href="http://www.iis.net/media/experiencesmoothstreaming" target="_blank">Vezi filmulet de test.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/07/iis-media-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mailto link in GridView</title>
		<link>http://blog.elvensoft.ro/2009/06/mailto-link-in-gridview/</link>
		<comments>http://blog.elvensoft.ro/2009/06/mailto-link-in-gridview/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 09:24:23 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[TemplateField]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=39</guid>
		<description><![CDATA[If you add a HyperLinkField to a Grid View and you set the DataNavigateUrlFields to &#8220;Email&#8221; (the field coming from the database) and the DataNavigateUrlFormat to &#8220;mailto:{0}&#8221; it wont work, because asp.net does some extra validation and the output is no link.

The only way to have an email link inside a GridView is by using [...]]]></description>
			<content:encoded><![CDATA[<p>If you add a <strong>HyperLinkField</strong> to a Grid View and you set the <strong>DataNavigateUrlFields</strong> to &#8220;Email&#8221; (the field coming from the database) and the <strong>DataNavigateUrlFormat</strong> to &#8220;mailto:{0}&#8221; it wont work, because asp.net does some extra validation and the output is no link.<br />
<span id="more-39"></span><br />
<span style="font-size: medium;"><span style="color: #800000;"><span style="text-decoration: underline;">The only way to have an email link inside a GridView is by using a TemplateField</span> </span></span></p>
<p>Use this code to generate the TemplateField:</p>
<p> </p>
<p><span style="color: #0000ff;">&lt;</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">TemplateField</span> <span style="color: #305fb6;">HeaderText</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;Email&#8221;</span></strong><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;</span><span style="color: #400080;">ItemTemplate</span><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">HyperLink</span> <span style="color: #305fb6;">ID</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;emailHyperLink&#8221;</span></strong> <span style="color: #305fb6;">runat</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;server&#8221;</span></strong> <span style="color: #305fb6;">NavigateUrl</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8216;</span></strong>&lt;%# Eval(&#8220;Email&#8221;, &#8220;mailto:{0}&#8221;) %&gt;<strong><span style="color: #259241;">&#8216;<br />
</span></strong><span style="color: #305fb6;">Text</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8216;</span></strong>&lt;%# Eval(&#8220;Email&#8221;) %&gt;<strong><span style="color: #259241;">&#8216;</span></strong> <span style="color: #305fb6;">Target</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;_blank&#8221;</span></strong><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">HyperLink</span><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;/</span><span style="color: #400080;">ItemTemplate</span><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;/</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">TemplateField</span><span style="color: #0000ff;">&gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/06/mailto-link-in-gridview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
