Start javascript from asp.net page

Posted by CruelIO on Stack Overflow See other posts from Stack Overflow or by CruelIO
Published on 2010-03-24T12:24:14Z Indexed on 2010/03/24 12:33 UTC
Read the original article Hit count: 158

Filed under:
|
|

Hi I have a usercontrol which includes some JavaScript, if I add the control to a standard web page I can start the JavaScript in the body tag, like this

<body onLoad="Start()">

The problem is that I need to add the control to a webpage which is inside a masterpage, how do I then start the script when a page inside a masterpage doesn't have a body tag.

© Stack Overflow or respective owner

Related posts about master-pages

Related posts about ASP.NET