I am trying to integrate a calendar plugin like google calendar with custom database and code with asp.net MVC in C#.
It needs to handle Day/Week/Month Events in the Calendar as like google calendar.
I found the similar plugin in jquery http://www.webappers.com/2009/08/04/jquery-weekly-calendar-plugin-inspired-by-google-calendar/. But it shows only the Week
Do anyone have a reference to this? Please suggest
I'd try FullCalendar
I answered a similar question a while ago, "ASP.net weekly schedule control", and the answer there would still be relevant to yourself.
DayPilot is a pretty good general
purpose calendaring/schedule control.
The full version is not free, but
there is a "lite" version available
which is not only free but open
source!
The "lite" version will give you both Day and Week (and "Work" week) views of the calendar and will show a Month Scheduler view.
Whilst the original DayPilot component is not meant for ASP.NET MVC, a guy called Craig Stuntz has adapted the DayPilot Lite component for ASP.NET MVC:
Using DayPilot with ASP.NET MVC
The best one I found is dhtmlxScheduler. It is highly customizable, fires events and works cross-browser. It is free for GPL projects, otherwise there are commercial licenses available with affordable prices. And their customer support is excellent!
Use Google's Calendar API
I am using this jquery plugin.
http://www.web-delicious.com/jquery-events-calendar-wdcalendar/
It provide php mvc sample, you can convert it to .net mvc
Related
I want to use the full calendar i/o by creating a web service but i have not found any tutorials online. I have tried to search for tutorials but no success.
I have created a very basic MVC example on .NET Fiddle.
As mentioned by Mikkel in the comments you should take the time to read through how to ask a question.
I haven't worked with MVC3 that much - as it was just released, but I was wondering if there was some kind of conversion tool - to convert exisiting Views / Forms into the newer up-to-date "Razor" view engine.
I'm not sure if it is possible but I just thought this would be the place to ask...
Thanks!
I recently read on Dave Hayden's blog this morning about Telerik releasing a Razor View Conversion tool. I believe they used it to convert all of their demos on their site from all of their existing WebForm view to the new Razor View engine.
Here is Dave's short blurb regarding the tool and if you want to play around with it yourself, it is available on Github using the following link:
Github - Telerik Razor Conversion Tool
Hope this helps you out (I haven't had the chance to play around with it much - but knowing Telerik, it's probably pretty decent.)
Given that Asp.net webforms works well for simple pages and there is no point in moving to MVC for the sake of it. I don't think a converter will do a good job, as:
your pages are complex
and/or you wish to do unit testing - so need to redesign
or you are moving for the sake of it (way?)
I am using Google API Version 2 fo .NET to create Google Calendar Entries.
How can i add "Attachment" to Google Calendar?
Thanx
I was trying to find the answer to this question myself, and after looking through the XML results for various queries using the Calendar API feeds, I'm pretty sure there isn't currently a way to retrieve or update file attachments. Since calendar event file attachments is a lab feature from Google, it's not entirely surprising that they aren't yet available through the public API.
Depending on what you are trying to do, you could use extended properties to store additional information about attachments in an event, but these values won't be read by the calendar web client, so you would only be able to use them for your own application.
A couple other things (admittedly hacks) you could try:
The ICAL feed provided by Google
Calendar provides an ATTACH:
property. You could have your app use
the import url to import an ics file
containing your attachment.
You could
simulate the web client, which posts
a gdoc-attachment parameter to update
an events with an attachment.
You also might try posting to the calendar help forums. The only related post I could find was here.
Good luck!
For all the future generations reading this, the attachments are now supported, here is the guide on how to do it: https://developers.google.com/google-apps/calendar/create-events#attachments
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.
If so how?
Did you roll your own with jQuery or use the Microsoft AJAX toolkit?
Did you create a webservice or call an action?
EDIT : Please note that this question was asked before Microsoft announced that they were going to bundle jQuery in with VS/ASP.NET MVC. I think there is less of a discussion around this topic now and the answer would now almost always be 'use jQuery'. IainMH 11th Feb 2009
jQuery, action, return JSON.
http://devlicio.us/blogs/mike_nichols/archive/2008/05/25/jquery-cascade-cascading-values-from-forms.aspx
I've spent the past day or two getting #Matt Hinze's answer to work. It works well. jQuery is the prefferred method of doing AJAX in the forthcoming ASP.NET MVC In Action book from Manning. You can get a pdf of a free preview chapter on AJAX in MVC here.
However, Stephen Walther in his excellent ASP.NET Tip series has just blogged about creating cascading dropdowns in Tip #41.
CascadingDropDown jQuery Plugin for ASP.NET MVC
http://weblogs.asp.net/rajbk/archive/2010/05/20/cascadingdropdown-jquery-plugin-for-asp-net-mvc.aspx
http://blog.noma.li/2010/03/autopostback-and-cascading-drop-downs-in-asp-net-mvc-and-jquery/