This is a mirror of official site: http://jasper-net.blogspot.com/

Google and Yahoo Add to Calendar Html Helpers for Asp.net MVC

| Tuesday, August 10, 2010
I’ve been working on implementing some iCal functionality for the my gig guide website – Gigpig so users could easily add concert dates to their calendars. This works fine and dandy if you have some desktop program to handle iCal files. I have however been informed that the cool kids roll with Google Calendar (and some strange people with Yahoo?!). I dug around a bit and found you can easily prompt users to add events to these calendars using a link to the calendar with the event details in the query string.

If you want to play around with these parameters I recommend using google’s tools to create a button for google calendar and following the guide on this site for yahoo.

I’ve gone ahead and wrapped them up into some Html helpers for Asp.Net MVC. I didn’t go overboard with the options here so if you will probably want to tweak the code a bit.

Read more: lukencode

Posted via email from .NET Info

0 comments: