elements not loaded before RegisterStartupScript



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!!!!

.



Relevant Pages

  • Re: Switching from dialog based app to SDI
    ... all communication comes from the document. ... write/read register values of that device ... I'm supposed to write similar programs now to control other devices. ... displaying the received values as bin,hex,dec strings or converting the ...
    (microsoft.public.vc.mfc)
  • [2.6 patch] move OSS ac97_codec.h to sound/oss/
    ... As far as I can see, there's no good reason why the OSS ac97_codec.h ... -/* extended audio status and control bit defines */ ... -/* extended audio ID register bit defines */ ...
    (Linux-Kernel)
  • Re: Best way to create ActiveX for Access 2000 in (vb).net
    ... the customer uses Access 2000 and Windows 2000. ... I've used Regasm and I've checked "register for ... database can't do anything with it (complaining it's not registered, ... form shows an empty control. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Best way to create ActiveX for Access 2000 in (vb).net
    ... the customer uses Access 2000 and Windows 2000. ... I've used Regasm and I've checked "register for ... database can't do anything with it (complaining it's not registered, ... form shows an empty control. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Signal generation on parallel port
    ... Few times ago, I had to write a software that does control an old adc, connected to an old SPP parallel port. ... Pin No SPP Signal Direction In/out Register ...
    (comp.os.linux.development.system)