My first iPhone app

Despite not owning an iPhone (I want one!), I’ve built my first iPhone application.

It’s a web app for playing Suduko.  It generates a new grid every day.  Utilises jQuery of course.

Find it here http://sudoku.nerdboy.co.uk/

I used http://www.testiphone.com/ to see that it worked and fitted the screen.

If anyone reading this actually has an iPhone and the time to test it I’d appreciate it.

Enjoy

Firebug for Google Chrome Campaign

I’ve been a Firefox fan for ages and when I discovered Firebug my life became a whole lot easier.  So much so, that I’d hate to be without it. But… I’m loving Google Chrome for it’s sheer speed.  I never realised Firefox was slow until I tried Chrome – maybe it’s all the extensions I [...]

Required field validator for an fckeditor

Unfortunately a requiredfieldvalidator doesn’t work with the fckeditor. The way to do this is to use a custom validator. <asp:customvalidator runat="server" validateemptytext="true" id="cvIntro" setfocusonerror="true" display="none"                 errormessage="Please enter an introduction" clientvalidationfunction="ValidateContentText"                  controltovalidate="fckIntro"></asp:customvalidator> Important note: you need to set validateemptytext=”true” otherwise it [...]

Find a control within a area

If you are using master pages, you may expect that you can find a control within an tag with the following me.findcontrol(“fckEditor”) But unfortunately that doesn’t work. You need to make a reference to the place holder the control is in, then find the control within the place holder. Another gotcha here is that you [...]

Lo-Fi unzipping functionality for .net

I’ve looked for unzipping functionality for .net a couple of times over the years and never found a totally satifactory solution. In a recent project I had to grab an attachment from a POP box and then unzip the attachment. I found an unzipping product called 7zip, it’s open source and there’s a command line [...]

asp.net outputcache based on url

The outputcache page directive is very handy – and I tend to use this where appropriate on my usercontrols (.ascx) You can optionally vary by querystring parameters. Something that’s missing from the default options is to vary based on the actual url of the page.  I was building a site where a random testimonial was [...]

Microsoft adopt jQuery

I’ve been using jQuery for ages and I love it.  Finally a very easy, crossbrowser, method to target any element or group of elements on the page. Plus it has some very straightforward and powerful ajax features built in. I did look at the whole ajax.net thing a while back and it was way too [...]