does anyone have any suggestions on how i can have the CompareValidator Control check for an integer value and also accept an empty textbox?
the two seem to conflict and, if the textbox is left empty, i get an error message saying the value is an incorrect format (because it's trying to associate an empty string to an integer).
dim intListingMLS as integer = trim(cInt(txtListingMLS.text))
ErrorMessage="Listing MLS must be a number."
<strong>MLS Number:</strong> (max. 5 characters)<br>
<asp:TextBox ID="txtListingMLS" Runat="server" MaxLength="6"/>