views:

10

answers:

1

Hello,

I added a RequiredFieldValidator to my InsertItemTemplate, and it seems to be working fine. The problem I am having, however, is that now I cannot do anything else in the ListView (like edit or delete items) UNLESS the required field has a value. Is there some way I can manually do the validation when the user clicks the 'Insert' button on the InsertItemTemplate, or some other little trick I can perform so the user doesn't have to first type in a value just to delete something else in the list?

Thanks

A: 

Yes, set the CausesValidation property to false on the controls you don't want them to trigger the validation.

A_Nablsi
That is awesome! Thanks.
Curtis
:) You are welcome and good luck.
A_Nablsi