title: How to change 'data-val-number' message validation in MVC while it is generated by @Html helper
body: <p>Assume this model:  </p>
  
  <pre><code>Public Class Detail
      ...
      &lt;DisplayName("Custom DisplayName")&gt;
      &lt;Required(ErrorMessage:="Custom ErrorMessage")&gt;
      Public Property PercentChange As Integer
      ...
  end class
  </code></pre>
  
  <p>and the view:</p>
  
  <pre><code>@Html.TextBoxFor(Function(m) m.PercentChange)
  </code></pre>
  
  <p>will proceed this html:  </p>
  
  <pre><code>   &lt;input data-val="true" 
      data-val-number="The field 'Custom DisplayName' must be a number." 
      data-val-required="Custom ErrorMessage"     
      id="PercentChange" 
      name="PercentChange" type="text" value="0" /&gt;
  </code></pre>
  
  <p>I want to customize the <code>data-val-number</code> error message which I guess has generated because <code>PercentChange</code> is an <code>Integer</code>. I was looking for such an attribute to change it, <code>range</code> or whatever related does not work.<br>
  I know there is a chance in editing unobtrusive's js file itself or override it in client side. I want to change <code>data-val-number</code>'s error message just like others in server side.</p>