Button click event causes a RequiredFieldValidator to fire in an ASP .NET DetailsView
28 June, 2010
0 Comments
If you use a linkbutton and a RequiredFieldValidator in an ASP .NET DetailsView template column. The linkbutton click event causes the RequiredFieldValidator to fire. If you don’t want the RequiredFieldValidator to fire when you push the linkbutton, set the CausesValidation property to false.
CausesValidation="false"Tags: ASP .NET