code_junkie

Asp.net Cancel Button

Nov 12th, 2011
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. cmdCancel.Attributes.Add("onClick", "document.forms[0].reset();return false;")
  2.  
  3. cmdCancel.Attributes.Add("onClick","document.getElementById('" + this.Page.ClientId + "').reset(); return false;");
Add Comment
Please, Sign In to add comment