I have a really strange issue.
My Application loads some user-controls (.ascx) dynamicly.
so i tried to register this script in Init and Load events of my UserControl.
Dim sPath As String = Page.ResolveClientUrl("~/Scripting/LiteUCScripts/LiteUCSripts.js")
Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "LucJS", sPath)
like also on the Usercontrol-Page with:
I will not register it on Masterpage
or elsewhere, because i will that my usercontrol can be simply used in other projects, and so that developpers dont have to invest immensely effort to implement this control in their projects.
Does somebody has a idea why this is not working in IE9 default Mode.