C
cfps.Christian
I've written a .js file and put the script in my usercontrol:
<script src="myscript.js" />
Added the attributes to my controls:
lbl.Attributes.Add("onclick", "DoWork(this);")
- Also tried "javascript
oWork(this);"
- and "javascript
oWork();" - to see if it was the "this"
I've also tried the RegisterClientScriptInclue() method to register
this script as well to no avail.
Where am I going wrong with this?
<script src="myscript.js" />
Added the attributes to my controls:
lbl.Attributes.Add("onclick", "DoWork(this);")
- Also tried "javascript

- and "javascript

I've also tried the RegisterClientScriptInclue() method to register
this script as well to no avail.
Where am I going wrong with this?