G
Guest
I have a form with custom controls. Each custom control contains a TextBox.
When I attempt to dynamically add a CompareValidator to a TextBox which
compares to a TextBox within the other custom control .NET throws the
exception: "Unable to find control id 'txt_element71' referenced by the
'ControlToCompare' property of 'valCompare_txt_element72'."
It appears that .NET can only support setting the ControlToCompare to a
control within the same control heirarchy. Is this true?
When I attempt to dynamically add a CompareValidator to a TextBox which
compares to a TextBox within the other custom control .NET throws the
exception: "Unable to find control id 'txt_element71' referenced by the
'ControlToCompare' property of 'valCompare_txt_element72'."
It appears that .NET can only support setting the ControlToCompare to a
control within the same control heirarchy. Is this true?