Ari Haber

Ari Haber

  • NA
  • 1
  • 0

CustomValidator Controls and User Controls (Problem)

Jul 13 2005 10:49 AM

I created an Address user control (ascx) to do country and state functionality and validation.  I placed 2 of the same control on one aspx page... one for personal info and the other for billing info.  Each control has different properties to determine which control require validation.

I created a custom validator control for the state input field for when the field is required.

However, when I tested this custom validator control it seems that for some reason it is looking at the wrong state field on the page.  

Does anyone have any experience with multiple of same usercontrols on a page that use Custom Validator Controls so they can give me some direction as to resolving my issue?

Thanks,

Ari