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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top