Posts for January, 2006

Containing floats in block elements

I just wanted to bookmark a really useful page about how to make block elements in CSS expand to contain floated elements. There are a couple of suggested ways to deal with this on the page but the one I needed today was adding an element to the end of the float that has the […]
Published in CSS on Wednesday, January 25th, 2006

Where has .NET 2.0 been all my life?

I really like .NET 2.0 and I’m liking it more the more I’m use it. Partial classes! How have I lived without partial classes all these years? It’s a fantastic idea where you’re using generated code like interface code. I’m absolutely itching to try this feature out with CodeSmith when I write my next data […]
Published in .NET on Wednesday, January 18th, 2006

Using the ASP.NET 2.0 Web Resource Attribute

ASP.NET 2.0 has a really nice feature that lets you compile site or component resources like javascript files into your assembly file instead of deploying these shared files to the wwwroot/aspnet_client directory like in ASP.NET 1.x. This makes your component/website much easier to deploy because it means you can keep everything you need in one […]
Published in ASP.NET, Server controls on Wednesday, January 11th, 2006

The resource cannot be found.

I was playing around with embedded web resources and was having a problem loading some javascript files. When I cut and paste the script link from the source of my page into the browser’s address bar I got the following error message: The resource cannot be found. Description: HTTP 404. The resource you are looking […]
Published in ASP.NET, Server controls on Wednesday, January 11th, 2006