The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Getting back in the swing...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Hanselman

Posts: 1031
Nickname: glucopilot
Registered: Aug, 2003

Scott Hanselman is the Chief Architect at Corillian Corporation and the Microsoft RD for Oregon.
Getting back in the swing... Posted: Oct 8, 2003 7:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Scott Hanselman.
Original Post: Getting back in the swing...
Feed Title: Scott Hanselman's ComputerZen.com
Feed URL: http://radio-weblogs.com/0106747/rss.xml
Feed Description: Scott Hanselman's ComputerZen.com is a .NET/WebServices/XML Weblog. I offer details of obscurities (internals of ASP.NET, WebServices, XML, etc) and best practices from real world scenarios.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Scott Hanselman
Latest Posts From Scott Hanselman's ComputerZen.com

Advertisement

Some very kinds notes lately from folks who noticed my ever changing MSN Messenger Name.  I've indeed been ill lately, having some diabetes troubles and unusual associated vertigo.  I was literally propped up all weekend, as lying down induced horrible spinning (presumably of the room, although possibly me).  I'm getting better slowly, but still sense something's wrong. Pretty sure I'll be back in the swing again for my presentation to the Cleveland .NET Users Group next week, and certainly for PDC.  I'd hate to miss it!

In my stupor I've been continuing into the depths of ASP.NET, this week working on a (possibly) rudimentary visual inheritance with Web Forms. 

Something like this:

namespace MyNorthwindBank
{
  public class
SomeWonderfulBasePage : Page
  {
      
protected override void
OnInit(System.EventArgs e)
      {
         this.Controls.AddAt(0, LoadControl("head.ascx"));
         base.OnInit(e);
         this.Controls.Add(LoadControl("foot.ascx"));
      }
   }
  
public class
SomeWonderfulBaseControl : UserControl
   {
      public new
SomeWonderfulBasePage Page
      {
        get { return (SomeWonderfulBasePage )base.Page; }
      }
   }
}
> >
>

I wonder if this is a valid and reasonable way to proceed, or if there's something about it that might bite me?

Read: Getting back in the swing...

Topic: Geek marriage - Episode I Previous Topic   Next Topic Topic: Good JavaScript reference and help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use