How to Point CompareValidator’s ControlToCompare Attribute at a HiddenField
Tuesday, January 30th, 2007If you point the ControlToCompare attribute of the CompareValidator at a HiddenField you’ll get an error that looks something like this: Control ‘hiddenBalance’ referenced by the ControlToCompare property of ‘CompareValidator1′ cannot be validated. With a small amount of “googling” I found two useful articles: Validating against the value in a hidden input MS KB Article [...]