Wednesday, January 25, 2006
Posted on Wednesday, January 25, 2006 10:01:13 PM (Mountain Standard Time, UTC-07:00)  Comments [0] | 
Categories: .NET | General
I thought I'd share how this little project is going through a number of postings. The main goal of this evening's work was to transfer the design from photoshop into ASP.NET, which I managed to accomplish in just over 3 hours. At this point, I've cut up the images, created the page framework, jammed this into a master page, built out a set of empty content pages and hammered out a stylesheet. Whew.

For the most part, things went pretty smoothly. I may as well state this now - up until today, I have not done anything with ASP.NET 2.0 - I attended a half day launch event, and from that and simply fiddling around, sorted out the main parts of Master pages. However, when I have a content file in a sub-folder, for some reason the master page does not get attached/injected. Ah! As I type this, I get it - the problem is that the stylesheet is linked as "main.css", which of course is not pointing to it's real location of http://localhost/main.css if the page is in http://localhost/somefolder. So, writing this blog just helped me!

The Menu control is also somewhat baffling. Attaching it to the sitemap was easy enough (think I saw that demoed), but styling it is a dog. I've kludged it together for now, but still need to add Hover styles. It's nice that the control exposes a zillion properties for all kinds of styling, but what I really want is an easy way to apply the style from a linked sheet. Specifying cssClass seems to work to some extent, but I need more info.

At this point, I think I need a book - at least it will make things go faster.

For anyone interested, the site as it stands is at http://www.davebouwman.net/sandbox

Maybe it's just my wireless connection, but it seems pretty slow to me - especially as compated to this blog page, which is doing a lot more "work". I may have to ask to be moved to a faster server. Again.


Comments are closed.