hello.
not really sure if it is this that you want, but...
here's a sample page that shows how you can load a script through a path or through the ScriptName property:
Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
MyBase.OnLoad(e)
Dim ref As New Microsoft.Web.UI.ScriptReference()
ref.Path = "~/ScriptLibrary/Atlas/Debug/AtlasUIGlitz.js"
manager.Scripts.Add(ref)
Dim ref2 As New Microsoft.Web.UI.ScriptReference()
ref2.ScriptName = FrameworkScript.AtlasUIDragDrop
manager.Scripts.Add(ref2)
End Sub
Untitled Page