Jim Rogers

Lives in Baton Rouge, LA, with two dogs, one cat, and one lovely wife. I'm a lead developer for GCR Incorporated.

Katrin and Jim

Month List

Disabling ComponentArt Calendar

by Jim Apr 19, 2007 1:20 PM

I had a hard time figuring out how to enable and disable the ComponentArt calendar control from javascript. This bit of code is for the picker/popup calendar combination as seen here

var disabled = ...;

// The button isn't a server control, so it has a static Id
document.getElementById('scheduledDateCalendar_button').disabled = disabled;
document.getElementById('_picker').disabled = disabled;

The dom element written by the server which corresponds to the picker control has _picker appended to the client ID. Once you know this it's easy to disable that element.

Tags:

Code

Bloglines Gadget Update

by Jim Apr 13, 2007 11:47 AM

I've released version 1.1 of my Bloglines sidebar gadget for Windows Vista. It's available at Windows Live Gallery. I'm excited about the number of downloads - well over 1000 to date, and it's only been available for a little over a month. Most of the code that I write is business software and has a much smaller audience.

The big change for version 1.1 is the option to limit the list to unread feads:

-------------------------------------------------------------------------
Version 1.0 -- 2007.02.06

Initial release

-------------------------------------------------------------------------
Version 1.1 -- 2007.04.08

Added an option to only show updated feeds
Window resizing and style changes for undocking
Improved the "loading" behavior for slow connections or network delays
Implemented notifier API to minimize load on bloglines server

Tags:

Code