In my ASP.NET User Control I\'m adding some JavaScript to the window.onload event:
window.onload
if (!Page.ClientScript.IsStartupScriptRegistered(this.GetType
Try this:
window.attachEvent("onload", myOtherFunctionToCall); function myOtherFunctionToCall() { // do something }
edit: hey, I was just getting ready to log in with Firefox and reformat this myself! Still doesn't seem to format code for me with IE7.