![]() ![]() ![]() You will also notice that the file "" is called as the CodeFile, this is where all the work takes place to connect to the database and creating the necessary HREF tags using the DayRender event. aspx page that are not necessary in your control, I used them to show the possible customization available. There are a number of styles set in the above. Once the database has been created and saved in the appropriate directory, (I'll use _database in this example), lets create a page with the Calendar Control embedded and the required CSS and JavaScript calls. ID eventDate eventName EventData eventLink Create a table with the following columns and data-types, (sample data included) I used Access in this example but can be easily migrated to your preferred database. Lets quickly walk through it.įirst, lets create a database of the necessary data. There are a few examples of using a database to create event dates, but I never found one that created a pop-up of the events. At first this was a daunting task since controlling the rendered dates with a link to the event seemed out of reach, well, once I sat down and started working, it was actually a simple task. I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |