calendar

Asp.net calendar select current week in page load event

In the Page_Load event I would like to have the current week selected on the calendar instead of just the current day. How can this be done? <asp:Calendar ID="Calendar1" runat="server" ondayrender="Calendar1_DayRender" SelectionMode="DayWeek" onselectionchanged="Calendar1_SelectionChanged"> </asp:Calendar> protected vo...

ASP.net Calendar Control with an embedded textbox for each day

We want to use the calendar control to fill it with some text for each day, we tried two methods: Defining all the textboxes (one for each day) statically in desing mode and moving them (e.cell.Controls.Add(tbDay1)) to each day cell on the OnDayRender event. But there is some problem with viewstate as the textboxes appear 2 times (the ...

JCalendar: how to change the foreground color of certain days?

Hello, i'm using the JCalendar v 1.3.3 component and i want to change the foreground color of certain days, by default the present days has red foreground, i want to emphatize other days with other colors. It's posible to archieve this with the present API or i have to modify the source code? ...

Is there an iPhone OS4 iCal API ...

does anyone know whether iPhone OS4 contains an iCal API? If yes, are there code samples how to use it to add events to iCal? cheers ...

WebCalendar Fatal Error message

I recently implemented WebCalendar onto my site and for some reason it stopped working and I now receive the following message when I go to the calendar page: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 47 bytes) in /data/19/1/87/108/1902760/user/2070591/htdocs/webcalendar/includes/functions.php on li...

Event Management Calendar for Drupal?

I run a church website and we have an event calendar page. We've been using Google Calendar for this - but there isn't a way to make everyone have the same default calendar - so some people are adding entries to their personal calendars and these are never showing up on the public calendar. I've been thinking about moving to either a hos...

Making a calendar with Sinatra

Well I don't actually want to make a calendar but I need a view for each day of the year which I guess is sort of the same. Say I have a view where you see e.g. "July 1st" in the top of the page and you have links to the day before and the day after. Beneath this there is a list of - in my example - rooms and they have different states -...

(Django) The best solution for event calendar

I need to add event calendar functionality to my application, and I'm wondering what do you think is the best way to do it ? Are there any interesting projects providing the needed functionality ? A snippet : http://djangosnippets.org/snippets/129/ ? Write it on my own ? ...

Grails: How to get dates in g:textField from calendar?

I have four entry fields from a search filter. I was originally using g:datePicker but it was not quite what I wanted, it was too slow to select the date from drop down boxes, so I decided it was better to use a simple grails text field and next to it a calendar image that would trigger the calendar. I was trying to use the YUI Calendar,...

Custom date format for WPF Calendar CalendarItems

I plan to use a WPF Calendar control to display fiscal month/years. When I set the control's DisplayMode to "Year", the months (for my en-CA culture) are displayed as "Jan", "Feb", etc. I'd like to display them as "01", "02", etc but can't find a way to do this. ...

Filtering events with RFC 2445-style recurrence rules by date?

I'm trying to figure out what the best way to find all instances of recurring events in a given date range for a whole set of calendars. Most of the examples I've seen (e.g. Fowler's paper on Temporal Expressions) seem to focus on querying a single event and asking if it's occurring at a certain time, which I'm not sure would work at th...

How do I block out historic dates in this DHTML Calendar?

I've added the calendar from http://www.dynarch.com/projects/calendar/old/ onto my wordpress site. It loads fine but I don't want people to select dates in the past which I've managed to do but want to add a strikethrough but don't know how. Please help. Thanks ...

Help on creating a new z-push backend

Hello, I'm currently trying to create a new z-push backend for SOGo. I've been looking for simple code snippets or samples, but I've found only quiet large stuffs. It lets the user push mail, or calendars. For now, I can't test the input myself (the application is on a private network, and I'm having troubles with my android emulator)...

What exists in terms of a Java 'timeline' library?

I am interested in any library which can do the following: I have a time range: let's say 1995 to 2010 which I can classify in some way, let's say as "The Internet Era". I then want to be able to break that up further, say 2001-2010 as "The Google Era". Ideally, I'd like the time line to exist as some sort of list of timespans object...

Hide/show input calendar for selectone radio using a4j support

Hi, On selecting radio button ive to hide/show the input calendar but the problem is entire page getting refreshed. could any one help or suggest me with the code i can use it for input calendar to hide/show using a4j <h:selectOneRadio id="radio1Id" value="#{bean.displayDate}"><f:selectItem itemLabel="Yes" itemValue="Yes" /><f:selec...

BlackBerry calendar event list returned by PIM sometimes is empty

This problem is related to PIM package on BlackBerry SDK. I need to update calendar events on the device after synchronization is done. To check if new event is really new I do this call: EventList eventList = (EventList)PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE); Enumeration events = eventList.items(EventList.OCCUR...

Parsing date from Calendar in Java

Hi, I am having following function public static Date parseDate(String date, String format) throws ParseException { SimpleDateFormat formatter = new SimpleDateFormat(format); return formatter.parse(date); } I am using this as follows in my code Calendar eDate = Calendar.getInstance(); eDate.add(Calendar.DAY_OF_MON...

What calendar control can I use for mobile web site?

I'm developing a web site in ASP.NET/C# that is targeted at mobile users. What calendar control do you recommend, that will work on Nokia, Safari, Opera? ...

Save One Event to Multiple Outlook Calendars

I have several Outlook Calendars. I want to be able to create one event and have it save to each calendar, without having to copy-and-paste it to each calendar. Any ideas if this is possible / how this can be accomplished? ...

another strange behaviour with GregorianCalendar

Hello everybody, Take a look at the piece of code bellow: Calendar today1 = Calendar.getInstance(); today1.set(Calendar.DAY_OF_WEEK, Calendar.FRIDAY); System.out.println(today1.getTime()); Calendar today2 = new GregorianCalendar(2010, Calendar.JULY, 14); today2.set(Calendar.DAY_OF_WEEK, Calendar.FRIDAY); System.out.println(today2.getT...