Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Turn off validation for DataGrid EditButton

I have an EditButton with my datagrid that is on the same page that contains RegularExpressionValidators. However, when I click the Update button after editing a row in the datagrid it gets stopped by the validators. How may I turn off the Update button going up against the validators (which are for other controls that a treated separately from the datagrid during postback)
[378 byte] By [Billkamm] at [2007-11-11 8:13:33]
# 1 Re: Turn off validation for DataGrid EditButton
Figured it out. It is apparently as easy as clicking "convert to template column" and adding CausesValidation="false" to the UpdateButton
Billkamm at 2007-11-11 23:13:22 >