Datepicker error when inside a disabled ASP.NET Panel

Datepicker error when inside a disabled ASP.NET Panel

I'm using an ASP.NET Panel control to enable/disable groups of controls at a time, one of which is the jQuery Datepicker.  Once this panel is disabled, if I click on the associated calendar buttonImage I'm using, I get the following script exception:

"htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."

What's the best way to handle this?  Is there an easy way to explicitly disable or hide this image at the time I disable the container panel?

- Robert -