Added If Page.IsValid commands

Added If (Page.IsValid)...Else to the button click events in case client
side validation is disabled.