Lee Kelleher

Author

Putting your ASP.NET Web Application in Maintenance Mode (using ISAPI_Rewrite)

Prompted by @slace’s tweet: i wish there was a way to use app_offline but still view from certain ip’s — Aaron Powell (@slace) September 29, 2009 I replied with a suggestion that we’ve used in the past. Aaron said I should blog about it… so here I am (again)! A while ago we needed to [...]

How to convert NameValueCollection to a (Query) String [Revised]

Following on from a comment on my previous post about converting a NameValueCollection to a (query) string – I have finally got around to revising my code snippet.  Now the method will handle same key multiple values, (it no longer comma-separates them). I have also added extra parameters so that you can define your own [...]

Umbraco: Ultimate Picker XSLT Example

Chatting with Dan (my partner-in-code at Bodenko) about the Ultimate Picker data-type in Umbraco, we realised that we couldn’t find any examples of how to use the data in XSLT. So obviously needing an excuse to write-up a new blog post, here we go. If you need a quick overview about the Ultimate Picker data-type, [...]

Robots.txt Editor for Umbraco

Following up on my recent post of using Robots.txt with Umbraco, I decided that it would be nice to be able to edit the robots.txt directly from the Umbraco back-end.  (Also I wanted to play a bit more with the BaseTree/ITree classes). This afternoon I had a few hours to spare – actually I was [...]

Add YouTube Plug-in to Umbraco/TinyMCE

Update: Following on from Dirk and Ismail’s comments, I found out that this YouTube plug-in does not work with TinyMCE v3 (which is the default richtext editor in Umbraco v4). This guide is written to works  for Umbraco v3 only, (using TinyMCE v2). If you are looking for similar functionality in Umbraco v4, (TinyMCE v3), then [...]

Robots.txt for use with Umbraco

I originally posted this over at the Our Umbraco community wiki. [Robots.txt for use with Umbraco] I am only posting it on my blog as a cross-reference. The Our Umbraco wiki version will evolve with the community’s experience and knowledge. The Robots Exclusion Protocol has been around for many years, yet there are a lot [...]

Source Code Released for User Control File Tree Umbraco Package

A few months ago I released the User Control File Tree package for Umbraco, this allowed developers to edit the front-end code/mark-up in their ASCX user-controls from the Umbraco back-end, (remotely), rather than editing them directly on the server via a text-editor. Today I have released the source-code on the Umbraco Extensions project (on CodePlex) [...]

MySql data-source support for ELMAH

Following on from my last post (a couple of months ago) about Integrating ELMAH with Umbraco, I received a comment if it was possible for ELMAH to use MySQL as a back-end data-source. After a few emails back and forth between myself and Rajiv, (as well as Rajiv’s requests over at the ELMAH support group), [...]

Integrating ELMAH with Umbraco

Update: For the latest details on how to integrate ELMAH with Umbraco, please read the article over on the Our Umbraco wiki. I have a few Umbraco projects that have a lot of custom .NET code, mostly in they are in the form of user-controls and XSLT extensions.  As far as I’m aware Umbraco doesn’t [...]

Umbraco Package – User Control File Tree

A few months ago, Tim Geyssens (aka Umbraco rockstar) released a package that gave you access to the *.config files in the /config/ folder. This has been a lifesaver in those few times where I have only had web-access to an Umbraco install and needed to tweak some config settings. Recently I found myself in [...]

Convert XmlReader to String

I was in the middle of developing a member look-up AJAX function for an Umbraco project, when I ran into a slight problem, (confusion rather), about how to pull the XML back from SQL Server and return it to the browser (AJAX). The SQL statement was straight-forward, very simple, does a LIKE query against the [...]

Tagged by Techn0tic

After years of dodging this tag-the-blogger (“you’re it!“) memes, it was Dave Kinsella who finally got me. So with pure fear of a little dead girl climbing out of my TV in 7 days time, I’ll continue the chain. If you are tagged you should: (a) republish these rules Link to your original tagger(s) and list [...]

Using jQuery to swap form fields

Due to an technical decision early on in my project, the date-of-birth field on a profile edit page in a single text-input element.  My client would now like the date-of-birth to be 3 dropdown lists, (day, month and year).  The amount of work involved making changes to both the back and front ends would take [...]

Populating multiple DropDownList controls with generic ListItem array

I’ve just had some fun spending the last half-an-hour trying to figure out why when I used the SelectedValue property of a DropDownList, it also set the value of another DropDownList control. Here’s some background to the problem.  On my web-form, I have 2 fieldsets, one for a “Start Date”, the other for an “End [...]

Lil’ Bookninja

After helping Bookninja with their blog, George kindly sent me some swag, (or “thanking him by advertising on his chest“, as George put it), including a baby-grow (we were expecting Katelyn at the time). Well, 9 months later, Katelyn fits into the baby-grow (she’s always been quite a small baby). I promised George that I’d [...]

« Older Entries
Newer Entries »