Last post Nov 15, 2009 11:22 AM by MaineOne
Nov 09, 2009 04:18 PM|alansmelin|LINK
Does anyone know whether it would be possible to create a calendar event and have them recurring - e.g. book a calendar event that can be recurring on a weekly basis?
Nov 15, 2009 11:22 AM|MaineOne|LINK
Yes, there are 2 ways it can be done.
1. Saving them to database:
This way requires you save the recurring events to the database. You would have to add a radiobutton or something you can select to state what type of recurring event(daily,weekly,ect) and how many times, then when you save it have the code behind check
for the value and loop through and add the events.
Potential problems: could make for a very large database table, so you may want to limit the amount of times an event can recure.
2. Have it auto generate on page.
This one I have done, but requires downloading and modifing the event calendar control. It works great for static events, but if your events might have different locations or times it could cause problems.