Custom datepicker html helper for mvc4 using Razor View

南笙酒味 提交于 2019-12-11 10:49:19

问题


Are there any tutorial for datepicker control for mvc4 using razor view . I went through the below mentioned link but sadly it uses aspx instead of razor.

http://www.codesprouts.com/post/Creating-A-DatePicker-Extension-In-ASPNet-MVC.aspx

Could any one please help me in creating datepicker control html helper using razor view.

The main problem is being that i have to get the date picker control in IE8 browser and sadly Jquery Datepicker control doesnt seem to be working in IE8 browser, i tried with several versions of Jquery Library as well. Because of this reason i wanted to build my own custom datepicker html helper . Please suggest some solution


回答1:


Look here:

  • http://dotnetfever.com/using-jquery-ui-datepicker-in-mvc-4/

This might be helpful as well:

  • Very basic jquery datepicker in Razor
  • http://www.dreamincode.net/forums/topic/288405-using-jquery-datepicker-with-mvc3-and-razor/
  • http://www.codeproject.com/Articles/344292/ASP-NET-MVC3-Razor-With-jQuery-For-Beginners


来源:https://stackoverflow.com/questions/17639673/custom-datepicker-html-helper-for-mvc4-using-razor-view

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