Damian's profileDamo's spot on the webPhotosBlogLists Tools Help

Damo's spot on the web

Thoughts on ASP.NET, CSS & team development

Damian Edwards

Occupation
Location
Interests
"There are no ordinary moments" - Dan Millman
October 02

This blog has moved

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer. Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

September 17

Comments have been turned off, time to move on

I've decided to turn comments off on this blog as the comment spam is getting out of hand. To that end I'm also in the processing of moving this blog to a new platform to allow for better support of comments, trackbacks and the like. In the mean time, if you want to ask me something about anything here just send me a direct Windows Live message.

August 17

iPhone Speed Check updated to test connection latency

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

I've published an update to iphonespeedcheck.com so that it tests connection latency. I've also stripped out the dependency on third-party JavaScript libraries so it's extra lean. There's also a shiny new home screen icon too.

Note that the site will only work properly in Safari on Windows, Mac or iPhone/iPod Touch.

Thanks to Cybner for the hosting.

August 13

Using PageDataSource (was ParentDataSource) with ASP.NET Web Site projects

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

I got a request today from somebody who was trying to use my ParentDataSource (now called PageDataSource) control in an ASP.NET Web Site project and was running into problems. The bound control kept throwing an InvalidOperationException saying it couldn't load the type. Turns out the problem is with the difference in the way that pages and assemblies are dynamically compiled and loaded by the BuildManager in web site projects. The fix involves simple adding the dynamic assembly name to the type name so that the BuildManager can locate it correctly when the bound control asks for it:

if (ctl.Parent == null)
{
    // At the top of the control tree and user control was not found, use page base type instead
    this.TypeName = Assembly.CreateQualifiedName(
        this.Page.GetType().Assembly.FullName,
        this.Page.GetType().BaseType.FullName);
    _parentHost = this.Page;
    return;
}

You can download the updated control class file from here.

August 02

What have I been up to?

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

I haven't posted here in a long time so I thought I'd do a quick heads up of what I've been doing lately:

On top of that I finished up a long term gig I'd been on and took a couple of weeks off to unwind.

What's on my radar for the coming months?

Phew, that looks like enough! If you want to know what I'm thinking at any given time I can usually be heard chirping over on Twitter.

May 31

AccessKeyHighlighter v1.0.1 released

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

I've released an update to the AccessKeyHighlighter to resolve a couple of issues and add some new features. Check it out on its CodePlex page.

May 25

Announcing the AccessKeyHighlighter control for ASP.NET AJAX

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

I've finally managed to get the first release of my AccessKeyHighlighter control for ASP.NET AJAX published. When the control is placed on a form it highlights the access keys assigned to form fields when the user holds down the access key shortcut key in their browser (Alt for IE & Safari, Shift+Alt for Firefox). You can see a live demo of it in action here.

If you find it useful, be sure to leave me a note on the CodePlex site, and if you find any issues or have any suggestions for improvements or new features, please create a feature request on the Issue Tracker page.

May 22

ReMIX08 Australia Welcome to Internet Explorer 8 session content

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

Thanks to all those who attended my and Lachlan's session on IE8 at ReMIX in Sydney and Melbourne. We hope you got something out of it. You can download the deck and demo from the session below.





May 21

Suggested improvements for CSS editor in Visual Web Developer and Expression Web

I’ve moved this blog to http://damianedwards.wordpress.com. I won’t be updating this space any longer.
Please update your RSS subscriptions to http://damianedwards.wordpress.com/feed.

People who know me will know that I love CSS and that I can often be found with my head deep in a CSS file in Visual Web Developer (the web tools in Visual Studio). Recently I've been thinking about how Microsoft could make the support for editing CSS files directly in these tools more conducive to discovering features of CSS you don't know about, improving productivity through better contextual awareness, and offering insight as to real world issues such as browser compatibilities.

So I've put together a series of mock-ups that illustrate some of the ideas I have for improving the support for CSS file editing:

  • Inline RGB colour picker
  • Ability to define colour swatches in XML comments including name, RGB and category
  • Inline colour swatch picker with $ keyboard shortcut that replaces name with hex RGB value on completion
  • Inline named colour picker with preview of named colour in pick list
  • Ability to choose browsers to warn of incompatibilities with when schema checking CSS
  • Green "squigglies" under CSS selectors and properties know to be unsupported or have issues in chosen warning browsers
  • ToolTips for CSS properties showing description and browser compatibility summary with hyperlinks to further information
  • ToolTips for CSS selectors showing description of what elements it will select, browser compatibility summary and specificity score with hyperlinks to further information on each
  • ToolTip preview of url resources (images) showing file size and image dimensions
  • ToolTip preview of font-family showing font source (TrueType, W3C, etc.) and font rendering preview
  • Support for automatic indenting of style declarations based on descendant or child selectors if they appear after each other

Hopefully somebody on the appropriate teams in Microsoft will here me :)

Presenting at ReMIX Australia

This week I'm presenting at ReMIX Australia in Sydney (yesterday) and Melbourne (tomorrow). I'm presenting a session along with Lachlan Hardy on Internet Explorer 8. The talk focuses heavily on web standards as that is the big news for IE8. Hope to see you there.

 
There are no photo albums.