<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Wright Code!</title>
  <link rel="alternate" type="text/html" href="http://www.pwright.com/" />
  <link rel="self" href="http://www.pwright.com/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2009-12-26T23:23:03.0458807-05:00</updated>
  <author>
    <name>Patrick Wright</name>
  </author>
  <subtitle>Patrick Wright's Blog</subtitle>
  <id>http://www.pwright.com/</id>
  <generator uri="http://dasblog.info/" version="2.3.9074.18820">DasBlog</generator>
  <entry>
    <title>Radeon HD 5870 install on Windows 7 64bit</title>
    <link rel="alternate" type="text/html" href="http://www.pwright.com/2009/12/27/RadeonHD5870InstallOnWindows764bit.aspx" />
    <id>http://www.pwright.com/PermaLink,guid,ebaf9ed3-5124-4fa4-b533-ef68a6fccf83.aspx</id>
    <published>2009-12-26T23:23:03.0458807-05:00</published>
    <updated>2009-12-26T23:23:03.0458807-05:00</updated>
    <author>
      <name>Patrick Wright</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <p>
 
</p>
        <p>
I bought myself a new <a title="USB2.0 &amp; Height Adjustment - Retail(new window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16824176071" target="_blank">monitor</a> and
new new <a title="ATI Eyefinity - Retail(new window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16814150443" target="_blank">video
card</a> to push it.  This monitor will join my two 24 inch Sansungs on my main
machine.  I planned to use the new video card to push the new HP monitor and
use an old 9800 GT to push the two Samsungs.  I was a little worried about mixing
the ATI card with the Nvidia card but a little research on the internet put me at
ease.  I read that Vista cannot use two video drivers but Windows 7 can… 
My card arrived I downloaded the latest drivers and tried to install them.  The
installation program did not work!! I ran it a number of times with the same result, 
the installation would just stop.  No error, it would just stop.  I was
sick!   I checked the event log and found this.
</p>
        <p>
          <a href="http://www.pwright.com/content/binary/WindowsLiveWriter/RadeonHD5870installonWindows764bit_148E0/image_2.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.pwright.com/content/binary/WindowsLiveWriter/RadeonHD5870installonWindows764bit_148E0/image_thumb.png" width="498" height="253" />
          </a>
        </p>
        <p>
Not much help.  I did some digging on the internet and found a post on <a href="http://forums.amd.com/game/messageview.cfm?catid=279&amp;threadid=99891&amp;highlight_key=y&amp;keyword1=install%20manager" target="_blank">forums.amd.com</a> that
helped.  I found out that because I am running a64 bit OS I need to install the
drivers from the command line.
</p>
        <p>
ATISetup.exe –Install –output screen
</p>
        <p>
The command line installation did the trick!  Why did ATI do this?  If they
are going to release an installation program that does not work on a 64 bit OS some
instructions in the box would be good.  
</p>
        <img width="0" height="0" src="http://www.pwright.com/aggbug.ashx?id=ebaf9ed3-5124-4fa4-b533-ef68a6fccf83" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Weird error [htmlfile: Unknown runtime error]</title>
    <link rel="alternate" type="text/html" href="http://www.pwright.com/2009/12/12/WeirdErrorHtmlfileUnknownRuntimeError.aspx" />
    <id>http://www.pwright.com/PermaLink,guid,3d56f157-cb9d-41aa-8ee8-757dd4337265.aspx</id>
    <published>2009-12-12T04:41:00-05:00</published>
    <updated>2009-12-11T23:42:04.3268694-05:00</updated>
    <category term="code" label="code" scheme="http://www.pwright.com/CategoryView,category,code.aspx" />
    <author>
      <name>Patrick Wright</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:126b21ca-38c9-47aa-801a-51df83dbf270" class="wlWriterEditableSmartContent">del.icio.us
Tags: <a href="http://del.icio.us/popular/code" rel="tag">code</a>,<a href="http://del.icio.us/popular/ajax" rel="tag">ajax</a></div>
        <p>
I was creating a very simple page  to play around with the Update Panel when
I came across a weird error.   
</p>
        <p>
The page uses an Asynchronous post back trigger on an update panel to control the
updating of the panel.  Seems simple enough but I ran into trouble.  The
code I tried to run is below.
</p>
        <p>
&lt;body&gt;<br />
    &lt;form id="form1" runat="server"&gt;<br />
    &lt;div&gt;<br />
        &lt;asp:ScriptManager ID="ScriptManager1"
runat="server"&gt;<br />
        &lt;/asp:ScriptManager&gt;<br />
        &lt;asp:Label ID="Label1" runat="server"
Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
        &lt;asp:UpdatePanel ID="MyPanel1" runat="server"&gt;<br />
            &lt;ContentTemplate&gt;<br />
               
&lt;p&gt;<br />
                   
&lt;hr /&gt;<br />
                   
&lt;asp:Label ID="Label2" runat="server" Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
                   
&lt;hr /&gt;<br />
               
&lt;/p&gt;<br />
            &lt;/ContentTemplate&gt;<br />
            &lt;Triggers&gt;<br />
               
&lt;asp:AsyncPostBackTrigger ControlID="MyButton" EventName="Click" /&gt;<br />
            &lt;/Triggers&gt;<br />
        &lt;/asp:UpdatePanel&gt;<br />
        &lt;p&gt;<br />
            &lt;asp:Label ID="Label3"
runat="server" Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
        &lt;/p&gt;<br />
        &lt;p&gt;<br />
            &lt;asp:Label ID="Label4"
runat="server" Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
        &lt;/p&gt;<br />
        &lt;asp:Button runat="server" ID="MyButton"
OnClick="MyButton_Click" Text="click me" /&gt;<br />
    &lt;/div&gt;               
<br />
&lt;/form&gt;<br />
&lt;/body&gt;
</p>
        <p>
          <br />
    
</p>
        <pre class="brush: csharp;">protected void Page_Load(object sender, EventArgs e)
{
    Label1.Text = DateTime.Now.ToString();
    Label2.Text = DateTime.Now.ToString();
    Label3.Text = DateTime.Now.ToString();
    Label4.Text = DateTime.Now.ToString();

}
protected void MyButton_Click(object sender, EventArgs e)
{
    

}
</pre>
        <p>
 
</p>
        <p>
When I ran the code above I received a weird error from Visual Studio. 
</p>
        <p>
        </p>
        <a href="http://www.pwright.com/content/binary/WindowsLiveWriter/ddddd_11AB8/image_2.png">
          <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.pwright.com/content/binary/WindowsLiveWriter/ddddd_11AB8/image_thumb.png" width="244" height="111" />
        </a>
        <p>
 
</p>
        <p>
I did some digging and found the offending code to be the paragraph tags “&lt;p&gt;”
and “&lt;/p” inside the ContentTemplate tags.  Removing the paragraph tags allowed
me to run the code without error and continue to play! 
</p>
        <p>
        </p>
        <p>
The new code is below.
</p>
        <p>
&lt;body&gt;<br />
    &lt;form id="form1" runat="server"&gt;<br />
    &lt;div&gt;<br />
        &lt;asp:ScriptManager ID="ScriptManager1"
runat="server"&gt;<br />
        &lt;/asp:ScriptManager&gt;<br />
        &lt;asp:Label ID="Label1" runat="server"
Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
        &lt;asp:UpdatePanel ID="MyPanel1" runat="server"&gt;<br />
            &lt;ContentTemplate&gt;<br />
                   
&lt;hr /&gt;<br />
                   
&lt;asp:Label ID="Label2" runat="server" Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
                   
&lt;hr /&gt;<br />
            &lt;/ContentTemplate&gt;<br />
            &lt;Triggers&gt;<br />
               
&lt;asp:AsyncPostBackTrigger ControlID="MyButton" EventName="Click" /&gt;<br />
            &lt;/Triggers&gt;<br />
        &lt;/asp:UpdatePanel&gt;<br />
        &lt;p&gt;<br />
            &lt;asp:Label ID="Label3"
runat="server" Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
        &lt;/p&gt;<br />
        &lt;p&gt;<br />
            &lt;asp:Label ID="Label4"
runat="server" Text="Label" Width="300"&gt;&lt;/asp:Label&gt;<br />
        &lt;/p&gt;<br />
        &lt;asp:Button runat="server" ID="MyButton"
OnClick="MyButton_Click" Text="click me" /&gt;<br />
    &lt;/div&gt;               
<br />
&lt;/form&gt;<br />
&lt;/body&gt; <img width="0" height="0" src="http://www.pwright.com/aggbug.ashx?id=3d56f157-cb9d-41aa-8ee8-757dd4337265" /></p>
      </div>
    </content>
  </entry>
</feed>
