It is impossible to use setVisible(true) on a control
that is defined with Visible="False" in the template by
using a callback.
Moreover, it appears that some useful javascripts
aren't written (so that, for example, a TDatePicker
doesn't work in an invisible Panel, the Calendar.setup
isn't called).
Why not "preload" the javascript at the first page
loading ? Or even add the script to the panel's html
(when flush() is called)
Is there a reason for using registerEndScript or
registerBeginScript instead of simply writing the script ?
Discussed here:
http://www.xisc.com/forum/viewtopic.php?t=3767