Date Picker In ListView

2 posts, 0 answers
  1. durga bhavani
    durga bhavani avatar
    19 posts
    Member since:
    May 2012

    Posted 04 Sep 2012 Link to this post


    Iam defining a DatePicker in ListView in Edit in this format

    data-bind="value:cmpnydate" name="date" data-type="date"  data-role="datepicker" required="required" validationMessage="required"/>

    and binding that datepicker value to "cmpnydate" and it is of "date" type, but that value is not binded to that Schema Variable. Am I defining wrong anywhere? Can u just plz let me know where I have defined wrong?

    Thanks and regards,


  2. Richard Hyde
    Richard Hyde avatar
    3 posts
    Member since:
    Nov 2009

    Posted 20 Nov 2012 Link to this post

    Suggest you try:  

    @model Example.Models.MyViewModel

    @Html.Kendo().DatePickerFor(m => m.MyDate)

Back to Top