Click here to Skip to main content
15,884,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to implement a datepicker Control in my *.cshtml page
without using script and jquary in MVC3.
Posted

1 solution

You can't implement datepicker without using Javascript and JQuery in ASP.NET MVC.Else you should create an custom html helper for rendering datepicker but it also need the help of jQuery or Javascript. In asp.net webform they are also rendering the datepicker using javascript but it's happening behind the scene.Microsoft abstract the codes from our view.If you want such abstraction please Create a custom html helper
http://develoq.net/2011/how-to-create-custom-html-helpers-for-asp-net-mvc-3-and-razor-view-engine/[^]

Hope this helps
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900