Jun 07, 2012, 10:51 PM
[CLOSED] XScript as server control
Can you provide a simple example of the syntax used for instantiating an Ext,Net,Xscript object on server side and loading it with a script and adding to page. Something like:
Dim sb As Stringsb = "<script type="text/javascript">alert('test');</script>"
Dim xSrpt As New Ext.Net.XScript()
xSrpt.AddScript(sb)
Me.Add(xSrpt)
The xscript is created inside a custom control that exists in markup and contains javascript functionality that will be used by the control.
Last edited by Daniil; Jun 11, 2012 at 2:07 PM.
Reason: [CLOSED]