title: How to bypass validation for a button in ASP.NET?
body: <p>I have an ASP.NET form that takes input from a user. There's a <code>Submit</code> button on the form and a button called <code>Calc</code> which does a calculation to populate a text field. The problem I'm having is that on the form I have a set of <code>&lt;ASP:REQUIREDFIELDVALIDATOR&gt;</code> validators and when the <code>Calc</code> button is pressed the form gets validated. I don't want the required fields to be validated when the <code>Calc</code> button is pressed, only the <code>Submit</code> button. Any way around this?</p>