Kendo UI DatePicker does not let the user select a date

泪湿孤枕 提交于 2019-12-24 06:53:49

问题


I am using Kendo DatePicker with MVC 3 (VB.NET, Razor syntax) in IE 7. When i click on the datepicker it does not let me select the date. By default, today's date is selected. If i run the same code on Google chrome, it works fine. Also i investigated this issue using IE developer toolbar for IE 7, and it's showing that "Unselectable" for the datepicker is set to "On". I have no idea how can i switch it off. I can browse the months or years in the datepicker but can't actually select a date. i can also manually enter the date in the datepicker textbox. any help will be really appreciated please.

This is a sample of the code i am writing

      <div class="editor-field">
        @Html.Kendo().DatePicker().Name("ExtMailDatePicker").Value(DateTime.Now)
        @Html.ValidationMessageFor(Function(model) model.Day)
    </div>

回答1:


This issue happens when the version of kendo framework installed and the version of jquery installed don't match. for example

using Q2 SP1 2012 assembly of kendo ui, and using JavaScript files from just Q2 2012 (1.7.1) may cause this issue. after making sure i have the correct files, it works.



来源:https://stackoverflow.com/questions/15654817/kendo-ui-datepicker-does-not-let-the-user-select-a-date

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!