Jonathan Wood

Description:I'm a software and website developer working out of the greater Salt Lake City area of Utah. I've developed many websites including Black Belt Coder, Trail Calendar, and others.

I hike each week with my dogs Suki and Sasha. You can see my hiking blog at Hiking Salt Lake.
Time Zone:Mountain Standard Time


Recursively Finding Controls
ASP.NET Web Form controls provide the FindControl method for finding child controls. However, FindControl does not find child controls of child controls. So here's a simple extension method that will accomplish that.
By Jonathan Wood • Created on Thursday, March 22, 2012
Splitting a Name into First and Last Names
Although splitting a name into the first and last names is not a major task, it's not quite as trivial as you might first expect due to potential variations.
By Jonathan Wood • Updated on Sunday, January 30, 2011
A Case-Insensitive Version of String.Replace()
The String.Replace() method is useful for easily replacing all occurrences of a substring with another substring. However, this method is always case-sensitive. Here is an extension method that implements a case-insensitive version of String.Replace().
By Jonathan Wood • Created on Wednesday, September 26, 2012
C++ High-Resolution Timer
This simple class uses the highest-resolution timer available under Windows. It's perfect for finding bottlenecks in your code or for simply comparing different computer tasks.
By Jonathan Wood • Created on Wednesday, December 22, 2010
Quick and Easy Method to Remove Html Tags
Here's a short snippet of code you can use to strip out HTML tags from a block of text.
By Jonathan Wood • Created on Sunday, April 08, 2012
Approximate String Comparisons Using Levenshtein Distance
Here's some code for testing the degree of similarity between two different strings. The Levenshtein distance algorithm returns the number of edit steps needed to make one string the same as the other.
By Jonathan Wood • Created on Sunday, February 27, 2011
Calling Web Services Using AJAX
This article presents code that uses AJAX to contact the server from client-side script and get a response without refreshing the current page.
By Jonathan Wood • Created on Sunday, April 15, 2012
Controlling JPEG Compression
The JPG graphics format supports varying level of compression and quality. Although it isn't readily visible, the Image.Save() method allows you to control this level. Here's a sample C# method that demonstrates how.
By Jonathan Wood • Created on Friday, May 18, 2012
C# Payment Calculator
Here's a simple C# class that will calculate your monthly payment for a given loan.
By Jonathan Wood • Created on Sunday, June 29, 2014
Extending LINQ with Random Operations
You can create extension methods to extend LINQ. Here's some code I came up with for extending LINQ to return random list items and shuffle lists.
By Jonathan Wood • Created on Saturday, September 22, 2012
First 1 2 3 4 5  ... Last