I am trying to use an asp range validator to throw a message when the user tries to hit the save button. It works when I do not set a min and max value. I am setting the min and max value in the code behind. Any suggestions?
<asp:RangeValidator ID="rv"runat="server"ErrorMessage="Enter a valid value."