Updated June 5, 2006
Iron Speed Designer V3.2 and V4.0
This example adds a standard ASP.NET CompareValidator to compare two controls on a page.
Display the page in Iron Speed Designer and select the HTML tab. This will display the HTML code for the page.
Search for the control that you want to compare. For example, suppose you want to compare the EmailAddress and EmailAddressAgain controls. Add the CompareValidator just below the <GEN:FieldValue Name=" EmailAddress" /> tag:
<GEN:FieldValue NAME=" EmailAddress" />
<asp:CompareValidator
id="MyCompareValidatorId"
ControlToValidate="EmailAddress"
ControlToCompare="EmailAddressAgain"
Operator="Equal"
ErrorMessage="Email Addresses must be the same."
runat="server" />
</td>
Part V: Customizing Generated Application Code