I wrote the original Boostrapper Manifest Generator (BMG) blog post a few years ago. It is one of the most heavily visited pages on my […]
StringUtil class – Space Before a Capital Letter
Hi, I often use enumerations in code that I want to display as text on the screen. For example the state of an object recorded […]
Generic List.Sort
I often want to use a list to sort and every time I have to go searching on how to use the IComparer interface. Assume […]
RequiredFieldValidator conditional validation via client side script
Interesting Problem. I created a user edit page on an ASP.Net website. A user when looking at their own record got a “Change Password” panel. […]
C# Stack with maximum limit
I am writing a web based app at the moment and I am wanting to maintain a history of the persons movements around the site […]
List<object> Find with delegate
Thought this was really cool. I have a generic List of objects, for example: [csharp]List<User> users = GetAllUsers();[/csharp] I want to find a user by […]
Dynamically creating user controls in code behind
If you have a user control that you wish to dynamically add to your page the following will not work; [csharp] UserControl control = new […]