J
Janaka
I've seen and used some samples where you can set the onclick attrubute to a
Button control to get it to do some javascript a la :
btnUse.Attributes["onclick"] = "DoSomeJS()";
However when i try and get this to work on certain controls such as the
ListItem in a RadioButtonList it just doesn't do anything? Does this
attributes property only render for certain controls?
Button control to get it to do some javascript a la :
btnUse.Attributes["onclick"] = "DoSomeJS()";
However when i try and get this to work on certain controls such as the
ListItem in a RadioButtonList it just doesn't do anything? Does this
attributes property only render for certain controls?