<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5822954407662791847</id><updated>2011-11-27T17:05:55.994-08:00</updated><category term='ASP.net'/><title type='text'>Confessions of a Microsoft Developer</title><subtitle type='html'>Miscellaneous ramblings of a developer</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://focusede.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://focusede.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dma550</name><uri>http://www.blogger.com/profile/17840639881632405870</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5822954407662791847.post-215682689439175194</id><published>2010-01-18T12:37:00.000-08:00</published><updated>2010-01-18T12:40:23.363-08:00</updated><title type='text'></title><content type='html'>lblBuildInfo.Text = "Build " + BuildDate.ToShortDateString;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Operator '+' cannot be applied to operands of type 'string' and 'method group'  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is happening with some vb.net code I pushed through a converter to c#. Being lazy sometimes has it's benefits, but not here.&lt;br /&gt;&lt;br /&gt;Hmm, syntactically these looks correct, but there's a little more to it.&lt;br /&gt;&lt;br /&gt;vb.net is nonchalant about functions ending in a paren pair ().  c# is not.  The converter did not even bother telling me this was a problem, and took my code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;lblBuildInfo.Text = "Build " + BuildDate.ToShortDateString();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Is correct.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5822954407662791847-215682689439175194?l=focusede.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://focusede.blogspot.com/feeds/215682689439175194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://focusede.blogspot.com/2010/01/lblbuildinfo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default/215682689439175194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default/215682689439175194'/><link rel='alternate' type='text/html' href='http://focusede.blogspot.com/2010/01/lblbuildinfo.html' title=''/><author><name>Dma550</name><uri>http://www.blogger.com/profile/17840639881632405870</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5822954407662791847.post-3691759329317892438</id><published>2010-01-14T11:24:00.000-08:00</published><updated>2010-01-14T11:34:29.368-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.net'/><title type='text'>Double postback on ASP.net forms</title><content type='html'>I have a recent situation where a page_load event is firing multiple times in asp.net (2.0). Sometimes it's twice, sometimes many times.&lt;br /&gt;&lt;br /&gt;There are several things that cause this, I've been bitten by two of them.&lt;br /&gt;&lt;br /&gt;1) Having two events hooked to the page_load via the Handles clause. Note the Me.load. This appears to be placed sometimes by the IDE.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Private Sub Page_Load(ByVal sender As System.Object, _&lt;br /&gt;&lt;br /&gt;   ByVal e As System.EventArgs) Handles MyBase.Load, Me.Load &lt;--eek!&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;2) This one really threw me. Sometimes an Image control with no URL will cause this. Also, links with blank URLS can also cause this. When diagnosing, substitute in as needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5822954407662791847-3691759329317892438?l=focusede.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://focusede.blogspot.com/feeds/3691759329317892438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://focusede.blogspot.com/2010/01/double-postback-on-aspnet-forms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default/3691759329317892438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default/3691759329317892438'/><link rel='alternate' type='text/html' href='http://focusede.blogspot.com/2010/01/double-postback-on-aspnet-forms.html' title='Double postback on ASP.net forms'/><author><name>Dma550</name><uri>http://www.blogger.com/profile/17840639881632405870</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5822954407662791847.post-6696099077833961908</id><published>2010-01-14T11:15:00.001-08:00</published><updated>2010-01-14T11:16:16.302-08:00</updated><title type='text'>New Blog</title><content type='html'>I thought it was about time to create a blog for my site and business, www.focusede.com.  In daily development life I stumble across a lot of interesting and useless information that may benefit someone.  This is my legacy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5822954407662791847-6696099077833961908?l=focusede.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://focusede.blogspot.com/feeds/6696099077833961908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://focusede.blogspot.com/2010/01/new-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default/6696099077833961908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5822954407662791847/posts/default/6696099077833961908'/><link rel='alternate' type='text/html' href='http://focusede.blogspot.com/2010/01/new-blog.html' title='New Blog'/><author><name>Dma550</name><uri>http://www.blogger.com/profile/17840639881632405870</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
