May 2007 Entries

A quick tip for working with UpdatePanels

UpdatePanels are a pretty neat part of Microsoft's Ajax Extensions. It's interesting to note how much faster pages *seem* when you remove all visual aspects of the postback. Sure, the postback is still happening, but without the need to re-render the entire page things seem so much snappier. However to make sure that your page is running as fast as it possibly can, remember to set the UpdatePanel's UpdateMode to Conditional (which isn't the default). It might seem like an obvious thing, but when you're working on complex pages that contain multiple UpdatePanels, multiple UpdateProgress controls, as...

posted @ Thursday, May 31, 2007 10:26 PM | Feedback (1) Filed Under [ ASP.NET AJAX Web Development ]

C# and the Compilation Tax

I write this post at the risk of sounding like a complete and utter ReSharper fanboy. However I had a great moment while reading C# and the Compilation Tax when I went "Huh?" at a couple of paragraphs: What's particularly sad about this is that, in my experience, most C# developers think manually compiling all the time is a natural state of affairs. Well, it isn't. In VB.NET we have this clever little technology we call background compilation. Background compilation saves you the effort of all that meaningless, repetitive, mind-numbing manual compilation. It's very simple: as...

posted @ Monday, May 28, 2007 8:53 PM | Feedback (0) Filed Under [ ASP.NET Visual Studio Web Development ]

ReSharper Keyboard Shortcut of the month

CTRL-SHIFT-V. The funny thing about this shortcut, is that it's so close to CTRL-SHIFT-B that I can't believe I haven't hit it accidentally before now while building a solution. Today however, after having used ReSharper for over a year, I did hit it by accident and found out that it's basically ReSharper's version of a clipboard paste which allows you to paste any of the last 20 text items that were copied to the clipboard (from any application) into your current window. ReSharper also provides you with a simple preview window to make sure you're pasting exactly the...

posted @ Tuesday, May 22, 2007 10:10 PM | Feedback (2) Filed Under [ ASP.NET Visual Studio C# ]

Microsoft AJAX Extensions: Sys.Debug is null or not an object

One of the breaking changes which was made with the 1.0 release of the Microsoft Ajax Extensions was the renaming of the 'Debug' class to 'Sys.Debug' for reasons of compatiability with other frameworks. Breaking changes like this can often be a source of frustration, however today I was pretty glad that they renamed the class, as it helped me to troubleshoot issues with the awful MSI on a Vista development box. The problem shows as a JavaScript error which states "Sys.Debug.IsDebug is null or not an object", basically telling you that something is using the wrong version of...

posted @ Tuesday, May 22, 2007 9:26 PM | Feedback (33) Filed Under [ ASP.NET AJAX ]

From the 'why oh why' department..

Sort of following on the theme of Visual Studio customisations, here's one which I don't use: VIEmu is a piece of commercial software which provides full VI/VIM editing inside Visual Studio. There are also versions for Word & Outlook, and SQL Server 2005 Management Studio - each priced at $69.95. Ouch, however there are also a couple of package deals which mitigate the pricing somewhat. For the 3 people out there who happen to code in Visual Studio and love VI, then this is for you! On a related note, I tried to adopt gVim (a...

posted @ Tuesday, May 22, 2007 8:51 PM | Feedback (0) Filed Under [ Visual Studio Web Development Miscellaneous ]

My Visual Studio Customisations

Every developer has their own list of customisations and tweaks which they apply to their IDE to give it that personal touch. This is my personal list of settings and customisations for Visual Studio 2005. I'm partly writing this down as a reference guide for myself lest I forget - reinstalling Visual Studio is something I try to do as little as possible, and so having a reference list is useful for those moments after a reinstall where you know something doesn't quite feel right in the IDE, but can't remember exactly which setting you've missed! I realise...

posted @ Wednesday, May 16, 2007 10:42 PM | Feedback (0) Filed Under [ Visual Studio Web Development Miscellaneous Me ]

Hardware troubleshooting techniques, Volume 1

PROBLEM: Noisy fan on my FreeBSD box SOLUTION: Disconnect noisy fan It's amazing how much quieter my FreeBSD/Squid cache box is with it's 120mm fan disconnected. I should know in about 24 hours as to whether my quick estimations on it's heat output and cooling requirements were accurate, but for now the acoustic improvements are worth the risk! Tags: FreeBSD

posted @ Tuesday, May 15, 2007 11:04 PM | Feedback (0) Filed Under [ Amusing Miscellaneous Me ]

Problems Installing/uninstalling Guidance Automation Extensions and Toolkit

Installation issues surrounding the Guidance Automation Extensions and Toolkit seem pretty common, including the infamous error 2869. There are a lot of postings where people had their issues solved by simply running the installers with elevated Administrator prilleledge, either via a command prompt or .cmd file. I recently had some issues installing the Web Service Software Factory on a Vista box, and no amount of Administrator elevation would shift it. The Web Service Software factory claimed it needed GAX to be installed, however GAX was already there. The GAX uninstaller wouldn't run, giving error 2869. I tried using...

posted @ Monday, May 07, 2007 8:31 PM | Feedback (0) Filed Under [ ASP.NET Visual Studio ]

Back on the train

I'm back to taking the train after driving for a couple of months. It looks like the reliability issues have gotten a bit better since their alltime February/March lows, however there are still delays and they're still (apparently) being caused by signal failures. It looks like most of the major earthworks have been completed along the western line, and so from here on in things should be getting better. One thing which has surprised me a lot over the past few days commute is that the trains seem noticably busier. I'd actually expected their use to maybe...

posted @ Monday, May 07, 2007 7:55 PM | Feedback (2) Filed Under [ NZ NZ Trains Miscellaneous Me ]

Shure E2c Sound Isolating Earphones

About 6 years ago I bought my first pair of Sony MDR 'in ear' earphones, and was an instant convert. At the time they were pretty revolutionary and until then I'd used a lot of different types of earphones but failed to find anything I found truly comfortable. That first pair was solid and has lasted me well, in fact they're still operational and intact today, however the sound quality was becoming a bit dated so I decided to upgrade to a new pair. Unfortunately, the latest version of Sony's MDR earphones turned out to have an incredibly shoddy build quality...

posted @ Wednesday, May 02, 2007 9:32 PM | Feedback (0)

IIS7 beta3 now available

The IIS 7.0 Beta3 shipped a few days ago with a Go-Live License for those of you who simply can't wait to get your production apps installed on the latest and greatest version of Microsoft's web server. Alternatively, there are plenty of webhosting providers who have installed the beta and are now offering it to customers so you can perform some testing without needing to perform any upgrades. This is especially handy if you're still using Windows XP or 2003 server, and don't have any spare hardware available to install Longhorn or Vista (which IIS7 requires). On a...

posted @ Tuesday, May 01, 2007 12:11 AM | Feedback (0) Filed Under [ ASP.NET Web Development ]

About me

My name is Ross Hawkins and I'm a developer, consultant, business owner and writer based in Auckland, New Zealand (pictured below!). My current work revolves around ASP.NET, C#, jQuery, Ajax, SQL Server, and a mix of other Microsoft development technologies.

I also have about 15 years of experience with IBM Lotus Notes/Domino and associated technologies. While Notes/Domino is no longer my primary focus I still like to dabble and keep my skills up to date.

I own and run 2 businesses - Hawkins Consulting Services, and Ignition Development.

Bethells Beach, located in sunny West Auckland, New Zealand




Subscribe

Subscribe to this feed


Search




Popular Content

Troubleshooting WebResource.axd

The .NET 2.0 framework changed the way clientside JavaScript is delivered to the browser. Previously, ASP.NET 1.1 used the aspnet_client directory whereas now 2.0 uses WebResource.axd.

Published on October 8, 2006

Microsoft AJAX Extensions: Sys.Debug is null or not an object

One of the breaking changes which was made with the 1.0 release of the Microsoft Ajax Extensions was the renaming of the 'Debug' class to 'Sys.Debug' for reasons of compatiability with other frameworks. Breaking changes like this can often be a source of frustration..

Published on May 22, 2007

Simple ASP.NET Character Counter

A textbox character counter is a pretty simple piece of functionality, and there's a lot of different ways to apply one to your application. The following method is nice and simple, and can be done using only clientside JavaScript if required, or combined with server side code in order to create a more dynamic effect

Published on December 4, 2006

Simple ASP.NET Character Counter - with Master Page Support

A quick update to my previous character counter article adding some changes for those using it with Master Pages.

Published on February 7th, 2009

Adding Tooltips to Gridview Headers

As the title says, this is a very simple but dynamic way of achieving tooltip text on a header column. It's not overly flash, but it's lightweight and quick to implement.

Published on April 15, 2007

SQL Server Web Report Viewer Issues on Windows 2008 Server/IIS7

A fix for another AXD related issue, this time with the SQL Server Web Report Viewer Control which was being served up via IIS7 on a Windows 2008 server.

Published on June 2, 2007
Updated on April 10, 2008




Archives

January, 2012 (3)
December, 2011 (3)
November, 2011 (8)
October, 2011 (9)
September, 2011 (8)
August, 2011 (5)
July, 2011 (4)
June, 2011 (7)
May, 2011 (5)
April, 2011 (3)
March, 2011 (8)
February, 2011 (4)
January, 2011 (3)
December, 2010 (8)
November, 2010 (5)
October, 2010 (6)
September, 2010 (7)
August, 2010 (11)
July, 2010 (12)
June, 2010 (8)
May, 2010 (8)
April, 2010 (4)
March, 2010 (8)
February, 2010 (6)
January, 2010 (12)
December, 2009 (13)
November, 2009 (11)
October, 2009 (12)
September, 2009 (12)
August, 2009 (2)
July, 2009 (7)
June, 2009 (12)
May, 2009 (9)
April, 2009 (9)
March, 2009 (9)
February, 2009 (8)
January, 2009 (7)
December, 2008 (6)
November, 2008 (7)
October, 2008 (9)
September, 2008 (12)
August, 2008 (9)
July, 2008 (6)
June, 2008 (24)
May, 2008 (13)
April, 2008 (16)
March, 2008 (8)
February, 2008 (10)
January, 2008 (1)
December, 2007 (14)
November, 2007 (11)
October, 2007 (11)
September, 2007 (13)
August, 2007 (11)
July, 2007 (5)
June, 2007 (15)
May, 2007 (11)
April, 2007 (9)
March, 2007 (9)
February, 2007 (10)
January, 2007 (8)
December, 2006 (18)
November, 2006 (11)
October, 2006 (14)
September, 2006 (9)
August, 2006 (10)
July, 2006 (4)
June, 2006 (4)
May, 2006 (6)
April, 2006 (3)
February, 2006 (6)
January, 2006 (10)
September, 2005 (2)
August, 2005 (4)

Post Categories

ASP.NET
AJAX
Amusing
NZ
NZ Trains
Notes/Domino
Visual Studio
Web Development
Miscellaneous
Me
Rugby
C#
SQL