<com:TContent ID="body"> <h1>TCompareValidator Samples</h1> <table class="sampletable"> <tr> <td class="samplenote"> Compare validator with default settings: </td> <td class="sampleaction"> <com:TTextBox ID="TextBox1" /> <com:TTextBox ID="TextBox11" /> <com:TCompareValidator ValidationGroup="Group1" ControlToValidate="TextBox1" ControlToCompare="TextBox11" Text="The two textboxes must have the same value." /> <com:TButton Text="Submit" ValidationGroup="Group1" /> </td> </tr> <tr> <td class="samplenote"> Compare validator with client-side validation disabled: </td> <td class="sampleaction"> <com:TTextBox ID="TextBox2" /> <com:TTextBox ID="TextBox22" /> <com:TCompareValidator ValidationGroup="Group2" EnableClientScript="false" ControlToValidate="TextBox2" ControlToCompare="TextBox22" Text="The two textboxes must have the same value." /> <com:TButton Text="Submit" ValidationGroup="Group2" /> </td> </tr> </table> </com:TContent>