here is the script regster call
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "addscript", "miscscript()", True)
I have also tried this
Page.ClientScript.RegisterStartupScript(Me.GetType(), "addScript", "miscscript()", True)
I had this working fine using the second example when using .net 4 and the Ajax toolkit for 4 but I am now having to rollback to 3.5 due to a vendor requirement.
any help would be appreciated as I am completely stumped by this behavior.
Here is a little bit of extra info:
If I put the script in page and not in the masterpage and just run with a window.onload, both work fine, which is why I have figured that it must be something that I am doing with the registration of the script.
When I say it does not matter what I put as the sript, I mean, it can be a complex element property adjustment or a simple alert, n
View Complete Post