Archive for January 12th, 2009

AjaxToolKit TabControl Disabled Tab

I just finished an interesting project that involved the AjaxToolKit’s Tab control.  The first part of my assignment was to make the Tabs start about 160 pixels to the right of the left side of the container.  Nothing a little CSS along with some nice interactive work with FireBug can’t take care of.  And sure enough, I got that all running pretty quickly.  The second part of the assignment was to make the far right tab visible, but disabled.

Now, you’d think a control that had a Enabled property and a Visible property would allow Enabled = false to display but be grayed out.  But if you thought that about the Tab control, you’d be wrong.  However, with an afternoon of snooping and a little help from jQuery, I was able to achieve the effect I was looking for.

Read the rest of this entry »