Is it possible to use the onclientclick property of a button to do a clientside check. If the check returns true, then fire the onclick
onclientclick
true
onclick
You want to add return inside OnClientClick after a function is called. Otherwise, the button will post back even if function returns false.
return