ednayap Posted June 18, 2003 Posted June 18, 2003 hi all! can anybody tell me the difference between onServerClick and OnClick in the property of a button? Tanx:D Quote ##EYPS##
hrabia Posted June 18, 2003 Posted June 18, 2003 "OnServerClick" lets you define click handler of a HTML button on server (when runat=server). "OnClick" thats client-side script for HTML button. Quote A man and a dog have an average of three legs. Beaware of Statistics.
ednayap Posted June 18, 2003 Author Posted June 18, 2003 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 Quote ##EYPS##
hrabia Posted June 18, 2003 Posted June 18, 2003 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). Quote A man and a dog have an average of three legs. Beaware of Statistics.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.