English 中文(简体)
Server Side Calendar Control in asp.net using the ical event format
原标题:

Does anyone know of a Calendar scheduler control that would display a whole month of events including the title of the event in each day? I need it to use an ical data format that would come from a restful web service request.

I would like the control to output plain html with no javascript as it has to work on public sector website or degrade gracefully if not.

Any suggestions would be grateful.

Thanks in advance,

Mark

最佳回答

There is a usesful .net library call DDay.iCal that allows you to deserialize an ical document into classes and work with them directly.

http://www.ddaysoftware.com/Pages/Projects/DDay.iCal/

There are lots of examples that show you how to show the contents of ical files in a calendar/scheduler aspx file.

It should really help you out.

You can even download the sourcecode from here:

http://sourceforge.net/projects/dday-ical/files/dday-ical/0.80/DDay-iCal_0-80_src.zip/download

Hope it helps.

问题回答

The Telerik scheduler control has this support; it has a scheduler control that you can see the entire month s view, or navigate to a day/week view. You can also export the results to ICS format easily. More details can be found on the demo web site at: demos.telerik.com, look in the MS AJAX demo site for the Scheduler control.

I have not used this but I filed a note on it for myself for the future. The Club Starter Kit (http://www.asp.net/downloads/starter-kits/club/) has a feature to view events in a calendar and download them to Outlook as iCal. No idea how it is built (or the quality of the code) since I have not looked at the code yet but you might want to check it out.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签