<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>Rafael</title>
	<link>http://rafsystems.com</link>
	<description>Object Not Found</description>
	<pubDate>Wed, 11 Nov 2009 22:10:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>ModalPopupExtender hiccup with Safari and Chrome</title>
		<link>http://rafsystems.com/2009/11/11/modalpopupextender-hiccup-with-safari-and-chrome/</link>
		<comments>http://rafsystems.com/2009/11/11/modalpopupextender-hiccup-with-safari-and-chrome/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 22:09:38 +0000</pubDate>
		<dc:creator>rloureiro</dc:creator>
		
		<category><![CDATA[AjaxToolkit]]></category>

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

		<guid isPermaLink="false">http://rafsystems.com/2009/11/11/modalpopupextender-hiccup-with-safari-and-chrome/</guid>
		<description><![CDATA[I don&#8217;t write much, as you can see by the dates on my posts. But I want to make sure to register this here, so people can easily find a solution to this problem instead of spending hours trying different things.For some reason, my modal popup was not displaying in Safari/Chrome.The fix is to replace [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t write much, as you can see by the dates on my posts. But I want to make sure to register this here, so people can easily find a solution to this problem instead of spending hours trying different things.For some reason, my modal popup was not displaying in Safari/Chrome.The fix is to replace ScriptManager with AjaxToolKitScriptManager.Replace:&lt;asp:ScriptManager ID=&#8221;scriptManager&#8221; runat=&#8221;server&#8221; /&gt;With this:&lt;ajaxToolkit:ToolkitScriptManager ID=&#8221;scriptManager&#8221; runat=&#8221;server&#8221; &gt;&lt;/ajaxToolkit:ToolkitScriptManager&gt;I hope this helps,</p>
]]></content:encoded>
			<wfw:commentRss>http://rafsystems.com/2009/11/11/modalpopupextender-hiccup-with-safari-and-chrome/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My trip to Europe - 2007</title>
		<link>http://rafsystems.com/2008/01/29/my-trip-to-europe-2007/</link>
		<comments>http://rafsystems.com/2008/01/29/my-trip-to-europe-2007/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 06:08:16 +0000</pubDate>
		<dc:creator>rloureiro</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://rafsystems.com/2008/01/29/my-trip-to-europe-2007/</guid>
		<description><![CDATA[Man, was Europe fun or what? It was my first to trip back to Europe since I was born. Besides the fact that Europe is awesome, I was traveling with my parents, my oldest brother and his wife, my wife and another brother of mine. I think having your family sharing an experience like that [...]]]></description>
			<content:encoded><![CDATA[<p>Man, was Europe fun or what? It was my first to trip back to Europe since I was born. Besides the fact that Europe is awesome, I was traveling with my parents, my oldest brother and his wife, my wife and another brother of mine. I think having your family sharing an experience like that makes everything even better.</p>
<p>Here are some pics, check it out: http://picasaweb.google.com/rloureiro/20070929Europa2007</p>
<p><a href="http://rafsystems.com/__oneclick_uploads/2008/01/europa-2007-209.JPG" title="Eiffel Tower">Eiffel Tower</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rafsystems.com/2008/01/29/my-trip-to-europe-2007/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Displaying the results of a query in matrix format (pivot table)</title>
		<link>http://rafsystems.com/2007/05/31/displaying-the-results-of-a-query-in-matrix-format-pivot-table/</link>
		<comments>http://rafsystems.com/2007/05/31/displaying-the-results-of-a-query-in-matrix-format-pivot-table/#comments</comments>
		<pubDate>Thu, 31 May 2007 21:29:06 +0000</pubDate>
		<dc:creator>rloureiro</dc:creator>
		
		<category><![CDATA[Sql]]></category>

		<guid isPermaLink="false">http://rafsystems.com/2007/05/31/displaying-the-results-of-a-query-in-matrix-format-pivot-table/</guid>
		<description><![CDATA[Today I came across an unusual request, I had to query the database and return the values in a pivot table format (variable columns). That&#8217;s kind of easy to do if you are using Sql Reporting, but I had never had to display a gridview in this format. After some research, I was able to find and article on [...]]]></description>
			<content:encoded><![CDATA[<p>Today I came across an unusual request, I had to query the database and return the values in a pivot table format (variable columns). That&#8217;s kind of easy to do if you are using Sql Reporting, but I had never had to display a gridview in this format. After some research, I was able to find and article on <strong>Uma Chandar&#8217;s</strong> site doing just this: <a title="Pivot Table" href="http://www.umachandar.com/technical/SQL6x70Scripts/main.htm" target="_blank">here</a></p>
<p><font color="#0000ff" size="2">create</font><font size="2"> </font><font color="#0000ff" size="2">table</font><font size="2"> #tb </font><font color="#808080" size="2">(</font><font size="2">record_id </font><font color="#0000ff" size="2">int</font><font color="#808080" size="2">,</font><font size="2"> obj_id </font><font color="#0000ff" size="2">char</font><font color="#808080" size="2">(</font><font size="2">4</font><font color="#808080" size="2">),</font><font size="2"> reference </font><font color="#0000ff" size="2">char</font><font color="#808080" size="2">(</font><font size="2">10</font><font color="#808080" size="2">))</font></p>
<p><font color="#808080" size="2"><br />
<font color="#0000ff" size="2">insert</font><font size="2"> #tb </font><font color="#0000ff" size="2">values</font><font color="#808080" size="2">(</font><font size="2">1</font><font color="#808080" size="2">,</font><font size="2"> </font><font color="#ff0000" size="2">&#8216;Btn1&#8242;</font><font color="#808080" size="2">,</font><font size="2"> </font><font color="#ff0000" size="2">&#8216;forward&#8217;</font><font color="#808080" size="2">)<br />
</font><font color="#0000ff" size="2">insert</font><font size="2"> #tb </font><font color="#0000ff" size="2">values</font><font color="#808080" size="2">(</font><font size="2">1</font><font color="#808080" size="2">,</font><font size="2"> </font><font color="#ff0000" size="2">&#8216;Btn2&#8242;</font><font color="#808080" size="2">,</font><font size="2"> </font><font color="#ff0000" size="2">&#8216;backward&#8217;</font><font color="#808080" size="2">)</font><font color="#808080" size="2"> </font></font><font color="#808080" size="2" /><font color="#808080" size="2"> </p>
<p></font><font color="#808080" size="2"><font color="#0000ff" size="2">select</font><font size="2"><br />
  record_id</font><font color="#808080" size="2">,</font><font size="2"><br />
  </font><font color="#ff00ff" size="2">min</font><font color="#808080" size="2">(</font><font color="#0000ff" size="2">case</font><font size="2"> </font><font color="#0000ff" size="2">when</font><font size="2"> obj_id </font><font color="#808080" size="2">=</font><font size="2"> </font><font color="#ff0000" size="2">&#8216;btn1&#8242;</font><font size="2"> </font><font color="#0000ff" size="2">then</font><font size="2"> reference </font><font color="#0000ff" size="2">end</font><font color="#808080" size="2">)</font><font size="2"> </font><font color="#0000ff" size="2">as</font><font size="2"> btn1</font><font color="#808080" size="2">,<br />
</font><font color="#ff00ff" size="2">  min</font><font color="#808080" size="2">(</font><font color="#0000ff" size="2">case</font><font size="2"> </font><font color="#0000ff" size="2">when</font><font size="2"> obj_id </font><font color="#808080" size="2">=</font><font size="2"> </font><font color="#ff0000" size="2">&#8216;btn2&#8242;</font><font size="2"> </font><font color="#0000ff" size="2">then</font><font size="2"> reference </font><font color="#0000ff" size="2">end</font><font color="#808080" size="2">)</font><font size="2"> </font><font color="#0000ff" size="2">as</font><font size="2"> btn2<br />
</font><font color="#0000ff" size="2">from</font><font size="2"> #tb<br />
</font><font color="#0000ff" size="2">group</font><font size="2"> </font><font color="#0000ff" size="2">by</font><font size="2"> record_id</font></font><font color="#808080" size="2"> </font> </p>
<p> </p>
<p><font color="#808080" size="2"><font size="2">I hope this helps.</font></font><font color="#808080" size="2"><font size="2"><font size="2" /><font color="#808080" size="2"><font size="2"> </font></font><font color="#808080" size="2"><font size="2" /></font><font color="#808080" size="2"><font color="#808080" size="2"><font size="2"> </font></font></font></font></font><font color="#808080" size="2"><font size="2"><font color="#808080" size="2"><font color="#808080" size="2"><font size="2"></p>
<p /></font></font></p>
<p /></font></font></font></p>
]]></content:encoded>
			<wfw:commentRss>http://rafsystems.com/2007/05/31/displaying-the-results-of-a-query-in-matrix-format-pivot-table/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AjaxControlToolkit and SmartNavigation</title>
		<link>http://rafsystems.com/2007/05/22/ajaxcontroltoolkit-and-smartnavigation/</link>
		<comments>http://rafsystems.com/2007/05/22/ajaxcontroltoolkit-and-smartnavigation/#comments</comments>
		<pubDate>Wed, 23 May 2007 00:04:08 +0000</pubDate>
		<dc:creator>rloureiro</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://rafsystems.com/2007/05/22/ajaxcontroltoolkit-and-smartnavigation/</guid>
		<description><![CDATA[After spending almost 2 hours investigating the following problem with a Ajax dropdown extension object:
&#8216;Error: Sys.ArgumentTypeException: Object of type &#8216;AjaxControlToolkit.PopupBehavior&#8217; cannot be converted to type &#8216;AjaxControlToolkit.PopupBehavior&#8217;.
I finally realized the page was using the smartNavigation directive. This directive has become obsolete with .NET 2.0, you can now use Page.SetFocus() and
Page.MaintainScrollPositionOnPostBack() instead to obtain similar result. However, [...]]]></description>
			<content:encoded><![CDATA[<p>After spending almost 2 hours investigating the following problem with a Ajax dropdown extension object:</p>
<p>&#8216;Error: Sys.ArgumentTypeException: Object of type &#8216;AjaxControlToolkit.PopupBehavior&#8217; cannot be converted to type &#8216;AjaxControlToolkit.PopupBehavior&#8217;.</p>
<p>I finally realized the page was using the smartNavigation directive. This directive has become obsolete with .NET 2.0, you can now use Page.SetFocus() and<br />
Page.MaintainScrollPositionOnPostBack() instead to obtain similar result. However, during the upgrade process from 1.1, the wizard didn&#8217;t flag this directive as a problem, so<br />
I was not aware of its presence until I came across the problem above.<br />
 <br />
Anyway, I was not surprised that upon removing this directive, the page was no longer throwing the javascript exception.</p>
<p>Lesson learned.</p>
]]></content:encoded>
			<wfw:commentRss>http://rafsystems.com/2007/05/22/ajaxcontroltoolkit-and-smartnavigation/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
