Archive

Posts Tagged ‘My Stuff’

Get Rendered Html From a Control

November 16th, 2009 No comments

Whilst working on the CMS I needed to be able to pass back the html a control will render when the user first adds it. The control doesn’t exist on the page yet as the sections are added via javascript. It was very easy to pass in StringWriter to the render function to get the html :)

Read more…

Categories: Asp.Net, c#, cms Tags:

Javascript dictionary & getIds

October 11th, 2009 No comments

Coming from a .net background I must admit to missing many of the features that the framework provides like Hastables, Dictionaries and Lists. I've just come up with a really simple dictionary class that I use to hold results from my id parsing routine.

Read more...
Categories: Javascript, JQuery Tags: , ,

jQuery fbisCalendar

September 18th, 2009 2 comments

Here is my first freely available jQuery plug-in.  There are a few more to follow soon including a form builder and a file explorer ;)

Overview

I know there are a million calendar selectors out there but I needed one that covered historical dates (1800-2100).  It displays either as a in place calendar in the page or as a drop down aka. combo box style.

Read more…

Categories: JQuery Tags: ,

CMS Framework – Update

August 16th, 2009 No comments

Been a bit quiet round here lately but not because I’ve not been working on it ;) I’ve been using it for a project at work and converting a lot of my stuff to be compatible with it.  It’s running  a site atm and doing well.

Alpha State

Mainly in alpha because things may yet change but the following all work
Read more…

Categories: .net, Asp.Net, c#, cms Tags:

Creating a CMS Framework – Update

May 26th, 2009 2 comments

Spent this weekend working on the cms and made good progress. Got the core page rendering working with masterpages and themes. Tested it with Db and normal aspx pages. I’m wondering whether I’ve over abstracted everything atm!

Just added the security system and user accounts.  Now I’ve got to decide how to expose the account creation side of it. Normally I’ve done that through controls but I’m going to have to create a utility class that devs can use and create their own controls for.

Read more…

Categories: cms Tags:

Dealing with duplicates in SQL

May 21st, 2009 No comments

Was explaining to a friend how to cope with duplicates today so thought I’d just stick a quick note up for him to refer too. Finding duplicates in SQL is relatively easy when dealing with one field, we just need to  count the number of occurances of the field: Read more…

Categories: SQL Tags: