Thanks Paul!
>>The fourth parameter according to MSDN is a value indicating whether to add script tags which I presume needs to be true since they are not included in the csScript string. What causes this script to run when the page is re-loaded?
>
>Yes, it needs to be true. The first example I showed I actually embedded the reqd. javascript tag in the string. In the second I removed that and just set the fourth parameter. The browser evaluates any of the Javascript in the HTML page as it's loaded. This is just a direct function call (that is, it's not inside of a function { }), so it will evaluate it and run your code for you. You can see this work if you did this:
>
>Page.ClientScript.RegisterClientScriptBlock(csType, csName, "alert('Here');", true);
>
>It will pop up the alert box during the page load.
Timothy Bryan