Digital Serenity

Digital Serenity is the blog of John McPherson Leask III (Jay). His mind wanders from food to travels, every-day activities and humor to sports, podcasting and technology - though mostly the focus of Digital Serenity will be his technological exploits.

Browse by Tags

All Tags » Code (RSS)
Custom Post Pages for site workflow
We recently had a client who required a custom post page for workflow purposes: Please create role "DraftPosts" and allow them to create posts in the "Workflow" blog but only save drafts, not publish.  Also, please make sure they...

Posted by jleask | with no comments

Accessing Blog Permissions (aka: Using roles for Blogs, not Users)
There are usually 3 or 4 hundred different ways to skin a cat within .NET - and programming in general for that matter - so in no way will I ever declare MY way of doing things THE way of doing things ... they are just A way. With that said I present...

Posted by jleask | with no comments

Filed under: , ,

Fluid vs Set Content Pains
Yes, the pun is intended ... If you ever do front-end design work you have likely started to dabble in Cascading Style Sheets (CSS) - and if you haven't, you better start! One limitation I've noticed over the years is how to have a set-width left panel...

Posted by jleask | with no comments

Filed under: ,

JavaScript Library: getQueryStringParam()
Continuing on my series called the Javascript Library , I offer you more scripts that every web developer should have in their arsenal for every web project. To start, how often does your project require you read items from a query string? It isn't a...

Posted by jleask | with no comments

Filed under: ,

Javascript Library: getSubString()
Every web developer, even those in denial that they are such, should have a solid library of JavaScript functions that they can bring with them to every project. The reasons are many, but lets just start with the following two today: As Javascript is...

Posted by jleask | with no comments

Filed under: ,

Controling Repeaters
I hate finding controls in repeaters, there is no easy way … it’s sloppy, ugly and prone to errors. Here’s how I’ve done it in the past Assume: Repeater control “rptrMyDocumentComments” Control location is within the reapeater header (or footer) Header...

Posted by jleask | with no comments

Filed under: ,