MVC Form HtmlHelper DateTime

  1. #1

    MVC Form HtmlHelper DateTime

    I am having trouble with the DateFieldFor HtmlHelper. It doesn't seem to allow me to model bind to a nullable DateTime. At least it causes an error whenever the field is null.

    @model DateTime
    Html.X().DateFieldFor(m=>m
    Thanks,
    Last edited by geoffrey.mcgill; Nov 23, 2012 at 7:34 PM. Reason: please use [CODE] tags
  2. #2
    Can you download 2.1 version (https://github.com/downloads/extnet/....Pro.2.1.0.zip) and retest?
    Just I cannot reproduce the issue with latest source
  3. #3
    Thanks I will try that.

    Just so you know I have a little concern about the version numbering.

    See the pre release Ext.Net.dll we had was versioned at 2.1.0.7157 and the one you have provided is now at 2.1.0.6553. It does seem that what you have sent is more recent though because the modified date is later, and it includes a more recent Transformer.dll. But you may want to double check your version numbering, maybe its me.

Similar Threads

  1. DateTime conversion error
    By HexElffilter in forum 1.x Help
    Replies: 6
    Last Post: Feb 21, 2012, 11:29 AM
  2. [CLOSED] DateTime Column Formatting
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 29, 2010, 4:55 PM
  3. Datetime
    By Wtower in forum 1.x Help
    Replies: 1
    Last Post: Sep 05, 2009, 9:53 AM
  4. DateTime handling in Store
    By pschojer in forum 1.x Help
    Replies: 3
    Last Post: Aug 17, 2009, 1:22 PM
  5. [CLOSED] datetime field
    By Satyanarayana murthy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 11, 2009, 1:59 PM

Posting Permissions