C
Crazy Cat
In the page load event of my user control I create and register a
startup script with RegisterStartupScript. I am passing two controls
(using the ClientID property of the controls) into a function in the
startup script and I get
an undefined error on one of them (an image control) while the other
(a div) is found with no problem. Additionally even
if I comment out all references to the undefined control (except the
in the argument list for the function) I get the undefined error and
the function does not run. What the hell -- why should it stop with an
undefined argument if the argument is not used?
Please HELP!!!!
startup script with RegisterStartupScript. I am passing two controls
(using the ClientID property of the controls) into a function in the
startup script and I get
an undefined error on one of them (an image control) while the other
(a div) is found with no problem. Additionally even
if I comment out all references to the undefined control (except the
in the argument list for the function) I get the undefined error and
the function does not run. What the hell -- why should it stop with an
undefined argument if the argument is not used?
Please HELP!!!!