Calender Control in C# asp.net MVC3

2019-08-22 13:09发布

Hi people I having a slight problem I looking for the simplest way of using a calendar control in MVC3 asp.net C#. I have played around with MVC3 C# could not get the calender control to work I tried to hand write the code but i failed. I tried to find for some ASP.net examples did not succeed. The way i want to use the calendar is, when a user clicks on a date he or she is able to input information and it gets stored within a database. Is this possible to do? if so are there any examples out there that i may have missed or code that you could start me off to create a fresh one. I have been at this for nearly 2 months and deleted many tries since they did not work.

Thank You

3条回答
霸刀☆藐视天下
2楼-- · 2019-08-22 13:52

You could use a client side calendar. jQuery UI DatePicker is a good choice. It supports lots of functions including inline display.

查看更多
Ridiculous、
3楼-- · 2019-08-22 13:53

Have you tried the Telerik ASP.NET MVC controls (they have a calendar of course)?

They are dual licensed (commercial license and GPL). They usually have pretty good controls and build it upon jQuery, so it's easy to understand and extend if you need to.

查看更多
你好瞎i
4楼-- · 2019-08-22 13:54

Do you mind to use a jQuery plugin?

Give FullCalendar a try.

Then you can easily create an action to fill up the appointments as well to grab the new ones created by the user, every thing works with ajax calls, so in MVC is really easy to accomplish this.

Let me know if you have trouble using this.

查看更多
登录 后发表回答