// Inject the script in the page to call EditAfterNew // // Setup the Type and ScriptName Type csType = this.GetType(); string csName = "PersonEditorScript"; // Get a reference to the ClientScript Manager of the page class ClientScriptManager csm = Page.ClientScript; // Check to see if the startup script is already registered if (!csm.IsStartupScriptRegistered(csType, csName)) { string csScript = string.Format("EditAfterNew('{0}');", this.grdAka.ClientID); Page.ClientScript.RegisterClientScriptBlock(csType, csName, csScript, true); }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?