OnServerClick

ednayap

Active member
Joined
Jun 18, 2003
Messages
29
Location
KL
hi all!

can anybody tell me the difference between onServerClick and OnClick in the property of a button?

Tanx:D
 
"OnServerClick" lets you define click handler of a HTML button on server (when runat=server). "OnClick" thats client-side script for HTML button.
 
hmmm

will this mean that what the server and client side click will prompt different actions?

what if i want both to perform the same actions?

tanx:p
 
hmmm :)
You have to probably read a litle bit about events in ASP.Net. Some things you can do only on client ("Do you realy want to delete?" - message :D - javascript etc.) and some only on server (Connection.Open :D).
 
Back
Top