Xamlhouse > Microsoft Silverlight Exploration

Calendar Component Development Issues

We have been working with the Calendar component and trying to incorporate it into our project. We have increased it to the right size, however we want to make it more interactive.

When a user clicks a day on the calendar, we want a text box to appear above that date with the events associated with that date. However, we are unsure how to access the component’s code and make this possible. We wish to pull the content for the date from an XML or XAML file.

Any advice would be greatly appreciated.

UPDATE:

We have fixed the problem. According to our developer Jess:

“10 min of google searching and messing with the intellisense with VS, it became easy: In Page.xaml:
In Page.xaml.cs:

What we really need now is to be able to manually change the style of a date. We basically want to cycle through an xml file (that has dates in it) and then cycle through the dates of the calendar component, and if the date matches up then we change the style of that date (which indicates that the date has an event). Any help on this issue would be greatly appreciated, as we are trying to get this figured out very soon in the next day or two.

-Andy and Jess

 Digg this

No comments yet. Be the first.

Leave a reply