简体   繁体   English

在ASP日历中切换多个日期

[英]Toggling multiple dates in asp calendar

I am working on a page that will have 12 calendars. 我正在制作一个包含12个日历的页面。 One for each month. 每月一次。 Is there a way I can allow the user to click on days and this will toggle them from red to blue. 有没有一种方法可以允许用户单击日期,这将使它们从红色切换为蓝色。 Then when I postback on the server I want to be able to see the days marked in red. 然后,当我在服务器上回发时,我希望能够看到标记为红色的日期。

How can something like this be done? 怎么做这样的事情?

Thanks 谢谢

The default ASP.NET calendar control does not support this. 默认的ASP.NET日历控件不支持此功能。

However, there is a custom control that may help you. 但是,有一个自定义控件可能会对您有所帮助。 I haven't used it myself, so I can't vouch for it entirely. 我自己没有使用过,所以我不能完全保证使用它。

http://forums.asp.net/p/1032656/1420001.aspx http://forums.asp.net/p/1032656/1420001.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM