After much research I have learned that Page.ClientScript.RegisterStartupScript only works if the page has a form element that has the runat="server" set. Once I added a form element with runat="server" to the other page the script finally started getting called the same as it did on the default.aspx page which of course had already had a form element.
No comments:
Post a comment