I want to register the JQuery Javascript file at runtime in my Page's
VB code.
Do I need or should I to do this using ScriptManger? If not, how can I
do it?
Thanks,
Miguel
To elaborate (since I accidentally hit send), you can use the first
method listed on that page to register your script, and then set the
client onClick attribute (for example) to call a method from the
script.
Me.Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "chkAll",
stringOfJavaScript)
later on in the code...
Dim cbHeader As CheckBox = [...]
cbHeader.Attributes("onclick") = "MyJavaScriptFunction();"
==========
Regards,
Steve
www.stkomp.com