validating EDIT and NEW fields in detailsview at same time?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • da

    validating EDIT and NEW fields in detailsview at same time?

    With ASP 1.1, when creating an input/edit form for data, I'd use one form,
    validate the fields, and then via a flag of some sort would either UPDATE or
    INSERT the data.

    With ASP 2.0 we're working on a project where we are using datagrids and
    detailsviews

    With the details view, there is a separate field for EDIT and INSERT. This
    requires us to create duplicate validators for each field, as we need to
    validate the EDIT and INSERT. This seems redundant. Is there a way to use
    one validator for both fields?

    Right now I'm creating some custom validators and having to create 2 each
    and every time seems silly.

    -Darrel

Working...