title: Client side validation of a timespan on asp.net mvc 3
body: <p>I need to receive some time information in the format "hh:mm" (<strong>no seconds</strong>). The property is defined like this:</p>
  
  <pre><code>[DataType(DataType.Time), DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = @"{0:hh\:mm}")]
  public TimeSpan SomeTimeProperty { get; set; }
  </code></pre>
  
  <p>The server side validation works as expected. However, I can't get the client side validation 
  to work as no client-side validation rules are generated.</p>
  
  <p>How can I make it work?</p>