Sep 17, 2008 01:45 PM|zipswich|LINK
I have made a custom server control derived from BasCompareValidator. It uses method RegisterClientScriptBlock() to inject client script so users get feedback before sending the data. It has been working great until I put the control in a Panel that is
initially invisible. When the Panel is made visible after a button is clicked, an error message says Microsoft JScript runtime error:'ClinicalDateTimeValidatorIsValid' is undefined. ClinicalDateTimeValidatorIsValid is the method in the script. If the Panel
is made visible initially, everything works fine.
Could anyone provide some clue about how to get around this?