I am creating HtmlButton dynamically in .cs file. Adding it to Panel using
HtmlButton b1 = new HtmlButton(); b1.Attribute.Add(\"onclick\",\"javascript:valid
if you use jQuery you can use preventDefault() to do this
preventDefault()