You'd need to have controls such as TextBoxes in the <EditItemTemplate> with
explicit ID as you need to assign the IDs to the validator so that it knows
which controls to compare/validate. And the validator must also exist in the
template, otherwise it cannot "see" the validated controls as they'd be in
different naming container. But that way it basically is possible.
Do the controls to be validated have to be within the same
<EditItemTemplate>? If yes, then this would mean that they would have to
belong to the same gridview column, correct? So, I can't really have a
comparevalidator to span columns, can I?
Thanks,
Bogdan
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.