do some function like HTML controls

  • Thread starter Thread starter Grey
  • Start date Start date
G

Grey

there are many fancy functions in HTML controls, like, "onclick", "onmouseover" etc....but how's that in Server control. For example, how to trigger the onclick event in Server control. I mean i want to use onclick event to start the javascript


Million Thanks...
 
Button.Attribute.Add("onclick", "alert('hi');")
there are many fancy functions in HTML controls, like, "onclick", "onmouseover" etc....but how's that in Server control. For example, how to trigger the onclick event in Server control. I mean i want to use onclick event to start the javascript


Million Thanks...
 
Back
Top