Problem using ScriptManager.RegisterStartUpScript in user control - Script Error "function is not de

Posted by poojad on Stack Overflow See other posts from Stack Overflow or by poojad
Published on 2010-06-10T00:22:47Z Indexed on 2010/06/10 0:32 UTC
Read the original article Hit count: 347

Filed under:
|

I have a aspx page which contains a User Control uc1 ans within uc1, there is another user control uc2. Now I need to call a javascript function in the uc2's page load. (I understand that the Pages are not properly designed, but I am sorry as this is an old application, I am not supposed to make any changes in the design)

I am doing this using ScriptManager.RegisterStartUpScript as I have an update panel, but the function is not being called and the script error "load is not defined" is fired. (load is the javascript function in uc2)

Can anyone help me out with this?

Thank you.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about vb.net