In my ASP.NET User Control I\'m adding some JavaScript to the window.onload event:
window.onload
if (!Page.ClientScript.IsStartupScriptRegistered(this.GetType
I don't know a lot about ASP.NET, but why not write a custom function for the onload event that in turn calls both functions for you? If you've got two functions, call them both from a third script which you register for the event.