Posts for October, 2005

HOWTO: Create a web control that handles a postback

Step 1: Create a WebControl that implements the IPostBackEventHandler interface. In my example I’ve created a CustomButton control that is a HTML <span> element that acts like a real button by trigging a postback and firing a Click event. public class CustomButton : WebControl, IPostBackEventHandler { public CustomButton() { } public void RaisePostBackEvent(string eventArgument) { […]
Published in Server controls on Monday, October 24th, 2005

An office with a door.. I can’t imagine it

One of Joel Spolsky's favourite rules for developers is that each should have their own office. As a long time open plan office dweller, I think that would be a little lonely.
Published in Programming on Monday, October 17th, 2005

IE7 is planned to support CSS attribute selectors! Whee!

Yay! I’m so happy because I just read a post on the IE blog that says IE7 is going to support attribute selectors! In fact it says that IE7 is going to aim to be CSS 2.1 compliant! They’re also *finally* fixing the problems with rendering transparent png files. I was a bit cynical when […]
Published in CSS on Thursday, October 13th, 2005

Where have the web project files gone?

I’m using ASP.NET 2.0 today to actually try to do something. I’ve opened it up before and had a bit of a look around, but this is the first time I’ve actually needed to make a new project and write a bit of code. I’m trying to breath deeply and tell myself that change isn’t […]
Published in ASP.NET on Tuesday, October 11th, 2005

Building websites with purpose

There’s a great article on A list apart today called never get involved in a land war in asia (or build a website without a purpose) about defining the objective and strategy of websites that we build. It’s got some great advice about keeping client websites focused on things that will make them successful and […]
Published in Web development on Tuesday, October 11th, 2005

Refactoring tool that looks at C# and aspx files

Saw an interesting looking refactoring tool called DevAdvantage that looks like it’s a cross between FXCop and Resharper. I haven’t actually taken a look at it yet, but I really liked the fact you could set rules for things in aspx files. I think the fact that aspx files aren’t really treated like “real code” […]
Published in ASP.NET on Saturday, October 1st, 2005