After some research, I found two links that looked promising – http://geekswithblogs.net/AzamSharp/archive/2006/04/25/76390.aspx and http://forums.asp.net/p/1310519/2584110.aspx. Both seemed like they would do the job.
But, neither one would actually fire my JS function when the page loaded. Both solutions would work if I hit F5 to refresh the browser, but that was not what I wanted. What to do?
Instead, I found this very simple solution. In the content page, I added this code in the header area,
That was it. I’m not sure why the other two solutions didn’t work, so if anyone has insight, I would like to know.