View Full Version : registering javascript code- failure in Safari

06-19-2008, 05:10 AM
Not sure if this should go into the .NET forum or not...

On a postback within an update panel, I'm registering some script(variables and initialization code) for use with a javascript file that had been loaded on page load.

Functionality works across the board in IE7, Firefox, and Opera. However, it fails in Safari. Find below the line of code I use to register my javascript.

ScriptManager.RegisterStartupScript(Me.Page, Me.GetType(), "MyDragAndDrop", "my script variables and initializations go here; ", True)

Any ideas out there as to why Safari doesn't like dynamically added script?