﻿<?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/"
	>

<channel>
	<title>[ RBFIGUEIRA :: Programmer/Developer ;P ]</title>
	<atom:link href="http://www.rbfigueira.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.rbfigueira.net</link>
	<description></description>
	<pubDate>Sat, 03 Jul 2010 20:12:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress + Twitter = Tumblr</title>
		<link>http://www.rbfigueira.net/?p=201</link>
		<comments>http://www.rbfigueira.net/?p=201#comments</comments>
		<pubDate>Sat, 03 Jul 2010 20:10:33 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Trivia]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=201</guid>
		<description><![CDATA[To exit the routine I dedicated my free time to the world of arts. Make oil and digital paintings. For many years that I am involved in the creation of beautiful musics, guitar stuff and digital sounds.
I have create one place to share and talk about my art, music and some art news &#8230; In [...]]]></description>
			<content:encoded><![CDATA[<p>To exit the routine I dedicated my free time to the world of arts. Make oil and digital paintings. For many years that I am involved in the creation of beautiful musics, guitar stuff and digital sounds.</p>
<p>I have create one place to share and talk about my art, music and some art news &#8230; In this space I will try, not avoid, talking about programming ;D</p>
<p>Please check my tumblr page:<br />
<a href="http://tumblr.rbfigueira.net"><img src="http://www.rbfigueira.net/wp-content/uploads/2010/07/tumblr_rbfigueira.png" alt="tumblr.rbfigueira.net" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=201</wfw:commentRss>
		</item>
		<item>
		<title>Pixelinked Project</title>
		<link>http://www.rbfigueira.net/?p=194</link>
		<comments>http://www.rbfigueira.net/?p=194#comments</comments>
		<pubDate>Sat, 03 Jul 2010 19:50:04 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Art]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=194</guid>
		<description><![CDATA[I have upload one of my last project. If you know me, to exit the routine I dedicated my free time to the world of arts. Pixelinked is a beautiful and flexible digital project gallery, used to linked only the best pixel images on the web, in one place. My idea is to join all [...]]]></description>
			<content:encoded><![CDATA[<p>I have upload one of my last project. If you know me, to exit the routine I dedicated my free time to the world of arts. <a href="http://pixelinked.com" target='_blank'>Pixelinked</a> is a beautiful and flexible digital project gallery, used to linked only the best pixel images on the web, in one place. My idea is to join all the best images of the web and make the artists recognized and known!! This will give you the started point for your inspiration, and be your digital bookmark.  You can find here images of great illustrators and digital painting renown gurus. Each day, will be added one or more startling images.</p>
<p><a href="http://pixelinked.com" target='_blank'><img src="http://24.media.tumblr.com/tumblr_l4zp4vI3521qct2vwo1_500.png" alt="Pixelinked Project" /></a></p>
<p>The site always give the credits to the artist; The artist is the owner of that image and all credits belong to him! ;D<br />
Take a look around. Believe me, the site is very inspiring. <strong>You will not regret it.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=194</wfw:commentRss>
		</item>
		<item>
		<title>DataBinder (increase performance)</title>
		<link>http://www.rbfigueira.net/?p=188</link>
		<comments>http://www.rbfigueira.net/?p=188#comments</comments>
		<pubDate>Sat, 03 Jul 2010 16:33:36 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[DotNet]]></category>

		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[DataBinder]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=188</guid>
		<description><![CDATA[DataBinder.Eval method saves you from writing complex expressions, but using this method does impose a performance penalty on your code, because all the work it does is late-bound. If we want the fastest possible code, you can replace calls to DataBinder.Eval with explicit casts.
For example:

&#60; %# DataBinder.Eval(Container.DataItem, “myField”,“{0:c}”) %&#62;

An equivalent expression using casts would be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/4hx47hfe.aspx" target="_Blank">DataBinder.Eval</a> method saves you from writing complex expressions, but using this method does impose a performance penalty on your code, because all the work it does is late-bound. If we want the fastest possible code, you can r<strong>eplace calls to <a href="http://msdn.microsoft.com/en-us/library/4hx47hfe.aspx" target="_Blank">DataBinder.Eval</a> with explicit casts</strong>.</p>
<p>For example:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span> <span style="color: #008000;">%</span><span style="color: #008080;"># DataBinder.Eval(Container.DataItem, “myField”,“{0:c}”) %&gt;</span></pre></div></div>

<p>An equivalent expression using casts would be this:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span> <span style="color: #008000;">%</span><span style="color: #008080;"># String.Format(“{0:c}”,(CType(Container.DataItem,DataRowView)(“myField”))) %&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=188</wfw:commentRss>
		</item>
		<item>
		<title>Pixelinked Project</title>
		<link>http://www.rbfigueira.net/?p=183</link>
		<comments>http://www.rbfigueira.net/?p=183#comments</comments>
		<pubDate>Sat, 03 Jul 2010 16:12:14 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Portfolio]]></category>

		<category><![CDATA[Arts]]></category>

		<category><![CDATA[Digital Painting]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=183</guid>
		<description><![CDATA[To exit the routine I dedicated my free time to the world of arts. Pixelinked is a beautiful and flexible digital project gallery, used to linked only the best pixel images on the web, in one place. My idea is to give you the started point for your inspiration, and be your digital bookmark. You [...]]]></description>
			<content:encoded><![CDATA[<p>To exit the routine I dedicated my free time to the world of arts. <a href="http://pixelinked.com" target="_blank">Pixelinked</a> is a beautiful and flexible digital project gallery, used to linked only the best pixel images on the web, in one place. My idea is to give you the started point for your inspiration, and be your digital bookmark. You can find here images of great illustrators and digital painting renown gurus. Each day, will be added one or more startling images.</p>
<p>The idea is to join all the best images of the web and make the artists recognized and known!!  The site always give the credits to the artist; put some description (if I found any), artist name, artist site. If you like the image, please go to the artist site!! He is the owner of that image and all credits belong to him!  ;D</p>
<p><strong>Share your images and be recognized</strong><br />
You can also have the opportunity do submit your best images (only the excellent ones will be approved). That means all you need to do is upload at least a large image for each post and you’re ready to go.</p>
<p>Many of the artists on the site, working for the gaming industry and TV (films). Others just do it for passion.Take a look around. Believe me, the site is very inspiring. You will not regret it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=183</wfw:commentRss>
		</item>
		<item>
		<title>Looking Ahead to C# 4.0: Optional and Named Parameters</title>
		<link>http://www.rbfigueira.net/?p=160</link>
		<comments>http://www.rbfigueira.net/?p=160#comments</comments>
		<pubDate>Tue, 19 Jan 2010 19:04:37 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[DotNet]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[C# 4.0]]></category>

		<category><![CDATA[Optional Parameters]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=160</guid>
		<description><![CDATA[Bill Wagner has explored two related upcoming features in the C# language: named and optional parameters. These features were added to the language to support COM interoperability, specifically COM interoperability with Microsoft Office.
For a variety of historical reasons, Office COM APIs have large numbers of parameters, several of which have reasonable defaults. In addition, while [...]]]></description>
			<content:encoded><![CDATA[<p>Bill Wagner has explored two related upcoming features in the C# language: named and optional parameters. These features were added to the language to support COM interoperability, specifically COM interoperability with Microsoft Office.</p>
<p>For a variety of historical reasons, Office COM APIs have large numbers of parameters, several of which have reasonable defaults. In addition, while you may want to use many of the defaults, you may need to specify a value for some of the parameters later in the list. It would be great to call those Office methods having 15 or more parameters by only specifying those parameters where you want something other than the default. Optional and named parameters enable that for you in C# 4.0.</p>
<p><strong>Named and Optional Parameters Explained</strong><br />
Named parameters allow you to call a method by specifying which argument in a method call refers to which formal parameter. Suppose someone had written this trivial Subtract method:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #FF0000;">int</span> Subtract<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">int</span> left, <span style="color: #FF0000;">int</span> right<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #0600FF;">return</span> left <span style="color: #008000;">-</span> right<span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>All three of these calls are equivalent:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">result <span style="color: #008000;">=</span> Subtract<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">7</span>, <span style="color: #FF0000;">5</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
result <span style="color: #008000;">=</span> Subtract<span style="color: #000000;">&#40;</span>left<span style="color: #008000;">:</span> <span style="color: #FF0000;">7</span>, right<span style="color: #008000;">:</span> <span style="color: #FF0000;">5</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
result <span style="color: #008000;">=</span> Subtract<span style="color: #000000;">&#40;</span>right<span style="color: #008000;">:</span> <span style="color: #FF0000;">5</span>, left<span style="color: #008000;">:</span> <span style="color: #FF0000;">7</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></div></div>

<p>If you don&#8217;t specify a name for any of the parameters, the normal order is used. Notice that you can rearrange the order of the parameters by specifying them by name.</p>
<p>Optional parameters enable you to specify a default value for any parameter to a method. Any parameters that have default values must be at the end of the argument list. Optional parameters must be compile-time constants.</p>
<p>One of the things I like the most about named parameters is that you can improve the readability of code.</p>
<p><strong>Please read the complete article here:</strong><br />
<a href="http://visualstudiomagazine.com/Articles/2009/09/01/Optional-and-Named-Parameters.aspx?p=1" target="_blank">Visual Studio Magazine : Looking Ahead to C# 4.0: Optional and Named Parameters</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=160</wfw:commentRss>
		</item>
		<item>
		<title>Programming the .NET Compact Framework (Free ebook)</title>
		<link>http://www.rbfigueira.net/?p=158</link>
		<comments>http://www.rbfigueira.net/?p=158#comments</comments>
		<pubDate>Sun, 17 Jan 2010 20:06:04 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[DotNet]]></category>

		<category><![CDATA[ADO.NET]]></category>

		<category><![CDATA[Compact Framework]]></category>

		<category><![CDATA[Hungarian]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=158</guid>
		<description><![CDATA[Paul Yao and David Durant have simultaneously write two Compact Framework books: one with all C# samples, the other with all VB samples. (The samples are going to be made available for download to registered users.)
Note that this book is not updated to the latest version (.NET Compact Framework 3.5) but it is an excellent [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Paul Yao</strong> and <strong>David Durant</strong> have simultaneously write two Compact Framework books: one with all C# samples, the other with all VB samples. (The samples are going to be made available for download to registered users.)</p>
<p>Note that this book is not updated to the latest version (.NET Compact Framework 3.5) but it is an excellent start. ;D</p>
<p><strong>Check his link:</strong><br />
<a href="http://www.paulyao.com/cfbook/index.asp" target="_blank">http://www.paulyao.com/cfbook/index.asp</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<strong>PART 1: FOUNDATIONS</strong></p>
<p>1 Compact Framework Architecture<br />
2 What is a Compact Framework Program?<br />
3 Fundamental .NET Data Types<br />
4 Platform Invoke</p>
<p><strong>PART 2: USER-INTERFACE PROGRAMMING</strong></p>
<p>5 Creating Forms<br />
6 Mouse and Keyboard Input<br />
7 Inside Controls<br />
8 Data Binding<br />
9 Inside More Controls<br />
10 Custom Controls</p>
<p><strong>PART 3: MANAGING DEVICE DATA</strong></p>
<p>11 Storage<br />
12 ADO.NET Programming<br />
13 Synchronizing Mobile Data<br />
14 Remote API (RAPI )</p>
<p><strong>PART 4: CREATING GRAPHICAL OUTPUT</strong></p>
<p>15 Compact Framework Graphics<br />
16 Text and Fonts<br />
17 Printing</p>
<p>A Appendix A: Hungarian Naming for .NET<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>If you want the updated book, you must to buy it:<br />
<a href="http://shop.enovativenergy.com/Programming-NET-Compact-Framework-35-2nd-Ed-Autographed-Copy-TPYC-NETCF-AUTO.htm" target="_blank">Programming .NET Compact Framework 3.5 (2nd Ed) Autographed Copy</a></p>
<p>Completely revised and updated for .NET Compact Framework 2.0 and 3.5, Visual Studio 2008, and Windows Mobile Smart Phones, Programming .NET Compact Framework 3.5, 2nd Edition, teaches you how to write highly effective applications for handheld wireless devices with small screens, limited memory, and finite battery life.<br />
<strong><br />
Programming .NET Compact Framework 3.5 Second Edition</strong><br />
The C# source code from the book is available <a href="http://www.paulyao.com/cfbook/code" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=158</wfw:commentRss>
		</item>
		<item>
		<title>GridView : HeaderStyle-HorizontalAlign=&#8221;Left&#8221; - BUG</title>
		<link>http://www.rbfigueira.net/?p=143</link>
		<comments>http://www.rbfigueira.net/?p=143#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:24:34 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[DotNet]]></category>

		<category><![CDATA[Bug]]></category>

		<category><![CDATA[C# 3.5]]></category>

		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=143</guid>
		<description><![CDATA[I have made several tests and in the end … again &#8230; one more bug related with IE8. This time in the GridView control ! The GridView is not outputting the correct HTML in IE8 !! Example:

&#60;asp :GridView runat=&#34;server&#34; Width=&#34;100%&#34; .... HeaderStyle-HorizontalAlign=&#34;Left&#34; /&#62;

 Resulting output:

&#60;tr align=&#34;left&#34; valign=&#34;top&#34;&#62; &#60;th scope=&#34;col&#34;&#62;Your Column Name&#60;/th&#62;&#60;th scope=&#34;col&#34;&#62;Your Column Name 2&#60;/th&#62;&#60;th [...]]]></description>
			<content:encoded><![CDATA[<p>I have made several tests and in the end … again &#8230; one more bug related with <strong>IE8</strong>. This time in the <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx" target="_blank">GridView</a> control ! The <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.aspx" target="_blank">GridView</a> is not outputting the correct HTML in <strong>IE8</strong> !! <strong>Example:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;asp :GridView runat=&quot;server&quot; Width=&quot;100%&quot; .... HeaderStyle-HorizontalAlign=&quot;Left&quot; /&gt;</pre></div></div>

<p> <strong>Resulting output:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;tr align=&quot;left&quot; valign=&quot;top&quot;&gt; &lt;th scope=&quot;col&quot;&gt;Your Column Name&lt;/th&gt;&lt;th scope=&quot;col&quot;&gt;Your Column Name 2&lt;/th&gt;&lt;th scope=&quot;col&quot;&gt;Your Column Name3&lt;/th&gt;&lt;th scope=&quot;col&quot;&gt;&lt;/th&gt;&lt;/tr&gt;</pre></div></div>

<p> Note that the align style is applied to the <strong>tr</strong> and not the <strong>td</strong>. IE8 by default is setting the alignment for <strong>th</strong> (header) elements to <em>center</em>, while <strong>td</strong> defaults to<em> left</em>. <strong>Solution:</strong> Instead of using the <strong>HeaderStyle-HorizontalAlign</strong> property, set a CssClass instead and apply the alignment directly on the<strong> th</strong> element:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;asp :GridView HeaderStyle-CssClass=&quot;HeaderStyle&quot;... /&gt;</pre></div></div>

<p> then add one css class rule:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;style type=&quot;text/css&quot;&gt; .HeaderStyle th{text-align:left} &lt;/style&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=143</wfw:commentRss>
		</item>
		<item>
		<title>Performance Comparison of Web Browsers</title>
		<link>http://www.rbfigueira.net/?p=135</link>
		<comments>http://www.rbfigueira.net/?p=135#comments</comments>
		<pubDate>Tue, 20 Oct 2009 18:57:38 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Browsers]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=135</guid>
		<description><![CDATA[There are many different web browser companies competing for the attention of consumers all around the world. At present the most popular are Firefox, Chrome, Explorer, Safari and Opera and with more services like communication, banking and in particular entertainment (i.e. videos, music and online casino) shifting online, these web browsers have had to continually [...]]]></description>
			<content:encoded><![CDATA[<p>There are many different web browser companies competing for the attention of consumers all around the world. At present the most popular are Firefox, Chrome, Explorer, Safari and Opera and with more services like communication, banking and in particular entertainment (i.e. videos, music and online <strong><a href="http://www.casino.com/es/" target="_blank"><span style="text-decoration: underline;">casino</span></a></strong>) shifting online, these web browsers have had to continually update and improve their product. So, who has had the most success in doing that?</p>
<p><strong>Jacob Gube</strong> is the Founder and Chief Editor of <a href="http://sixrevisions.com" target="_blank">Six Revisions</a>. He have made one excellent Performance Comparison of different Web Browsers. The end results were very interesting as we can see below<strong>:</strong></p>
<p>&#8220;<em><strong>The latest versions</strong> of the <strong>five major most web browsers</strong> (Mozilla Firefox 3.5, Google Chrome 3.0, Microsoft Internet Explorer 8.0, Opera 10.0, and Apple Safari 4.0) went head to head under six performance indicators: JavaScript speed, average CPU usage under stress, DOM selection, CSS rendering speed, page load time, and browser cache performance. Each web browser was tested three times under an unprimed cache (except for the browser cache performance), and their average value reported in the results.</em>&#8221;</p>
<p><img src="http://www.rbfigueira.net/wp-content/uploads/2009/10/browser_performance.png" alt="Browser Performance" /></p>
<p>See the <strong>Original Source</strong>: <a href="http://sixrevisions.com/infographics/performance-comparison-of-major-web-browsers/" target="_blank">Performance Comparison of Web Browsers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=135</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET menu control BUG</title>
		<link>http://www.rbfigueira.net/?p=130</link>
		<comments>http://www.rbfigueira.net/?p=130#comments</comments>
		<pubDate>Tue, 13 Oct 2009 19:53:58 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[DotNet]]></category>

		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=130</guid>
		<description><![CDATA[I have lost 4 hours, trying to fix it. I have made several tests and in the end &#8230; I suspected it was a bug! I searched in the web and &#8230; voilá:
&#8220;Internet Explorer 8 is a unique release in the history of Internet Explorer in more than one way, but the decision to make [...]]]></description>
			<content:encoded><![CDATA[<p>I have lost 4 hours, trying to fix it. I have made several tests and in the end &#8230; I suspected it was a bug! I searched in the web and &#8230; voilá:</p>
<p>&#8220;<em>Internet Explorer 8 is a unique release in the history of Internet Explorer in more than one way, but the decision to make standards mode the default means that authors of existing sites are impacted by it, if only to set the compatibility mode to IE7.  (…)</em></p>
<p><em>Most ASP.NET built-in controls have been doing just fine in IE8, or the faulty behavior was actually due to an IE bug that we reported and that got fixed.</em></p>
<p><em><strong>All except asp:menu. It so happens that the menu control is making a bad assumption on what the default value for z-index should be.</strong></em>&#8221;</p>
<p><strong>asp:menu fix for IE8 problem available</strong><br />
<a href="http://weblogs.asp.net/bleroy/archive/2009/03/23/asp-menu-fix-for-ie8-problem-available.aspx">http://weblogs.asp.net/bleroy/archive/2009/03/23/asp-menu-fix-for-ie8-problem-available.aspx</a></p>
<p><strong>Description of the hotfix rollup package for ASP.NET 2.0: April 2009</strong><br />
<a href="http://support.microsoft.com/kb/969612/">http://support.microsoft.com/kb/969612/</a></p>
<p><strong>Direct FIX: ASP.NET 2.0 rollup package (April 2009)</strong><br />
Applies to ASP.NET 2.0 running on Windows 2000, Windows XP, or Windows Server 2003.<br />
<a href="https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18157">https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18157</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=130</wfw:commentRss>
		</item>
		<item>
		<title>Detecting IE8 Browser</title>
		<link>http://www.rbfigueira.net/?p=126</link>
		<comments>http://www.rbfigueira.net/?p=126#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:32:23 +0000</pubDate>
		<dc:creator>rbfigueira</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://www.rbfigueira.net/?p=126</guid>
		<description><![CDATA[If you want to know the type of the client browser, you will probably check the Request.Browser.Type property.
However, you will notice that using the IE8, several times, is reported as IE7.
[test.aspx]

&#60; %
response.write&#40;Request.ServerVariables&#40;&#34;HTTP_USER_AGENT&#34;&#41;&#41;
%&#62;

Using the IE8 browser, in both cases, I get these two different results:
Local Machine (Localhost):

&#34;Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to know the type of the client browser, you will probably check the Request.Browser.Type property.</p>
<p>However, you will notice that using the IE8, several times, is reported as IE7.</p>
<p><strong>[test.aspx]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;</span> <span style="color: #008000;">%</span>
response.<span style="color: #0000FF;">write</span><span style="color: #000000;">&#40;</span>Request.<span style="color: #0000FF;">ServerVariables</span><span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;HTTP_USER_AGENT&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
<span style="color: #008000;">%&gt;</span></pre></div></div>

<p>Using the IE8 browser, in both cases, I get these two different results:</p>
<p><strong>Local Machine (Localhost):</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&quot;Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)&quot;</pre></div></div>

<p><strong>Production Server:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">&quot;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)&quot;</pre></div></div>

<p>If you notice, one says MSIE 8.0 and other MSIE 7.0.</p>
<p>Since IE8 include 3 rendering engines (IE8 Standards, IE7 Compatibility, IE6 Quirks), IE8 will set the Version Token dynamically, based on the user compatibility settings for each site.</p>
<p>This two links, will show you the best practices to detect IE8 on real world scenarios:</p>
<li><a href="http://blogs.microsoft.co.il/blogs/egoldin/archive/2009/07/29/detecting-ie8-on-server-side.aspx" target="_blank">Detecting IE8 (Server side)</a></li>
<li><a href="http://blogs.msdn.com/giorgio/archive/2009/04/14/how-to-detect-ie8-using-javascript-client-side.aspx" target="_blank">How to detect IE8 using JavaScript (Client side)</a></li>
]]></content:encoded>
			<wfw:commentRss>http://www.rbfigueira.net/?feed=rss2&amp;p=126</wfw:commentRss>
		</item>
	</channel>
</rss>
