title: Data Annotations - How can I replace Range values with Web.Config values in MVC3?
body: <p>How can I replace the Range values with Web.Config values in MVC3?</p>
  
  <pre><code>[Range(5, 20, ErrorMessage = "Initial Deposit should be between $5.00 and $20.00")
  public decimal InitialDeposit { get; set; }
  </code></pre>
  
  <p>web.config:    </p>
  
  <pre><code>&lt;add key="MinBalance" value="5.00"/&gt;
  &lt;add key="MaxDeposit" value="20.00"/&gt;
  </code></pre>