<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://advenet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">sherman.woo</title><subtitle type="html">A place to store my (mostly) technical thoughts.</subtitle><id>http://advenet.com/puckboy/blog/atom.aspx</id><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/default.aspx" /><link rel="self" type="application/atom+xml" href="http://advenet.com/puckboy/blog/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2005-11-25T14:20:00Z</updated><entry><title>RegEx Tracer</title><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/archive/2006/05/17/68.aspx" /><id>http://advenet.com/puckboy/blog/archive/2006/05/17/68.aspx</id><published>2006-05-17T08:20:00Z</published><updated>2006-05-17T08:20:00Z</updated><content type="html">Found a regular expression debugger tool called &lt;a href="http://www.codeproject.com/useritems/RegEx_Tracer.asp"&gt;RegEx Tracer&lt;/a&gt; from CodeProject. Will have to try it out when I have time.

&lt;img src="http://advenet.com/aggbug.aspx?PostID=68" width="1" height="1"&gt;</content><author><name>Puckboy</name><uri>http://advenet.com/Puckboy/Default.aspx</uri></author><category term=".NET Development" scheme="http://advenet.com/puckboy/blog/archive/tags/.NET+Development/default.aspx" /></entry><entry><title>Visual Studio 2003 Tips and Tricks</title><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/archive/2005/12/05/20.aspx" /><id>http://advenet.com/puckboy/blog/archive/2005/12/05/20.aspx</id><published>2005-12-05T22:30:00Z</published><updated>2005-12-05T22:30:00Z</updated><content type="html">&lt;P&gt;MSDN:&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxurfvisualstudio70defaultshortcutkeys.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxurfvisualstudio70defaultshortcutkeys.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class=headermaintitle id=_ctl0__ctl0__ctl0__ctl0_BlogTitleHeader1__ctl0_BlogTitle href="http://blogs.msdn.com/shaykatc/default.aspx"&gt;Shaykatc's WebLog&lt;/A&gt;&lt;BR&gt;&lt;A href="http://blogs.msdn.com/shaykatc/archive/2004/03/04/83993.aspx"&gt;http://blogs.msdn.com/shaykatc/archive/2004/03/04/83993.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://advenet.com/aggbug.aspx?PostID=20" width="1" height="1"&gt;</content><author><name>Puckboy</name><uri>http://advenet.com/Puckboy/Default.aspx</uri></author><category term="Links" scheme="http://advenet.com/puckboy/blog/archive/tags/Links/default.aspx" /></entry><entry><title>Natural Ergonomic Keyboard 4000</title><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/archive/2005/12/02/18.aspx" /><id>http://advenet.com/puckboy/blog/archive/2005/12/02/18.aspx</id><published>2005-12-02T19:33:00Z</published><updated>2005-12-02T19:33:00Z</updated><content type="html">&lt;P&gt;I have tested this out at a local store (obviously very briefly, without a computer attached). Looks like Microsoft has fixed some of the issues I had with the previous generation of keyboards, and have finally come out with a keyboard that can be a match for my (two) beloved MS Natural Keyboard Pros.&lt;/P&gt;
&lt;P&gt;See Brian Dela's post &lt;A href="http://briandela.com/blog/archive/2005/09/26/781.aspx"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://advenet.com/aggbug.aspx?PostID=18" width="1" height="1"&gt;</content><author><name>Puckboy</name><uri>http://advenet.com/Puckboy/Default.aspx</uri></author><category term="Technology" scheme="http://advenet.com/puckboy/blog/archive/tags/Technology/default.aspx" /></entry><entry><title>ASP.NET Page Life Cycle Overview</title><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/archive/2005/11/29/15.aspx" /><id>http://advenet.com/puckboy/blog/archive/2005/11/29/15.aspx</id><published>2005-11-29T19:44:00Z</published><updated>2005-11-29T19:44:00Z</updated><content type="html">&lt;A href="http://msdn2.microsoft.com/en-us/library/ms178472.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms178472.aspx&lt;/A&gt;&lt;img src="http://advenet.com/aggbug.aspx?PostID=15" width="1" height="1"&gt;</content><author><name>Puckboy</name><uri>http://advenet.com/Puckboy/Default.aspx</uri></author><category term="Links" scheme="http://advenet.com/puckboy/blog/archive/tags/Links/default.aspx" /></entry><entry><title>Init Event Does Not Fire for Any Control</title><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/archive/2005/11/25/11.aspx" /><id>http://advenet.com/puckboy/blog/archive/2005/11/25/11.aspx</id><published>2005-11-26T05:52:00Z</published><updated>2005-11-26T05:52:00Z</updated><content type="html">&lt;P&gt;This one is a little weird.&lt;/P&gt;
&lt;P&gt;Normally, attaching an Init event handler to a control is pretty straight-forward. Standard, typical stuff. However, we encountered a situation where the init event handlers were not firing for any control on our page. &lt;/P&gt;
&lt;P&gt;The page is actually an MS CMS template, but really they are just ASP.NET web pages. Usually these templates inherit from System.Web.UI.Page, but we decided to do the 1.1 "master" page trick by inheriting from another class&amp;nbsp;"BaseTemplate", which in turn inherited from another class "BasePage" which finally inerits from the base Page class. &lt;/P&gt;
&lt;P&gt;I don't think this chain of inheritance is the cause, but I do know that the problem is a result of "order of events". From what I understand, the init events in our set up were occuring too late. In other words, the Page Load event had already fired, so the control Init events can't fire (even though their Load events do...); something like the child's OnInit getting called before the page's OnInit event.&lt;/P&gt;
&lt;P&gt;The solution was to use the OnInit attribute in declaritive code like this:&lt;BR&gt;&lt;FONT color=#000080&gt;&lt;FONT face="Courier New" size=2&gt;&amp;lt;asp:Literal id="myLiteral" OnInit="myLiteral_Init" ... /&amp;gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;The Init method would have to change from the normal "private" to "protected".&lt;/P&gt;
&lt;P&gt;An explanation as found in the news groups:&lt;BR&gt;&lt;FONT face="Courier New" color=#000080 size=2&gt;the OnInit event of the Page is too late for registering event handler for sub control(added statically)'s Init event). Because all the static sub &lt;STRONG&gt;control's Init&lt;/STRONG&gt; event is fired when they are being added into the parent container which is before the Page's OnInit function. You can try using&amp;nbsp;the suggetion on registering the event handler in aspx page inline.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Worth noting: BUG: Imperatively Wired Control Event Does Not Fire in Visual C# .NET Web Application (&lt;A href="http://support.microsoft.com/?id=314965"&gt;http://support.microsoft.com/?id=314965&lt;/A&gt;)&lt;/P&gt;&lt;img src="http://advenet.com/aggbug.aspx?PostID=11" width="1" height="1"&gt;</content><author><name>Puckboy</name><uri>http://advenet.com/Puckboy/Default.aspx</uri></author><category term=".NET Musings" scheme="http://advenet.com/puckboy/blog/archive/tags/.NET+Musings/default.aspx" /></entry><entry><title>dotnet MONSTER... cool.</title><link rel="alternate" type="text/html" href="http://advenet.com/puckboy/blog/archive/2005/11/25/9.aspx" /><id>http://advenet.com/puckboy/blog/archive/2005/11/25/9.aspx</id><published>2005-11-25T22:20:00Z</published><updated>2005-11-25T22:20:00Z</updated><content type="html">&lt;P&gt;My first post... came across this site while searching for some other informaiton. In the process, I found that they offer free blog space, &lt;EM&gt;and&lt;/EM&gt; they use Community Server (blog portion is formerly .TEXT).&amp;nbsp;Neat.&amp;nbsp;&lt;/P&gt;&lt;img src="http://advenet.com/aggbug.aspx?PostID=9" width="1" height="1"&gt;</content><author><name>Puckboy</name><uri>http://advenet.com/Puckboy/Default.aspx</uri></author><category term="General / Personal" scheme="http://advenet.com/puckboy/blog/archive/tags/General+_2F00_+Personal/default.aspx" /></entry></feed>