Hello. I have templated a RadCalendar control to add some functionality. One of the additions is a usercontrol which is inside of a CalendarButton on the DayButtonStyle. It has 2 textboxes which are bound to some information about that day. I believe that I have all of the bindings and valueconverters setup correctly; that is the correct data initially goes to the valueconverter and is then processed and displayed correctly.
The issue I have is that when the data is updated, the control does not refresh. My PropertyChanged events fire for each of the text fields in my control, but the neither the control nor the button overall update. I know this because my valueconverter is not running. The only time my control does update is when I click on the next or previous month buttons. This causes the whole calendar to update, and every calendar button refreshes itself, updating my control with the current data.
This isn't helpful for 2 reasons. First it requires the user to change the month before any data is displayed. Secondly, the data which is being displayed is dependent on what month is showing. So, if the user is looking at November, and then clicks the "next month" button, the information for November will be loaded, but it will not display since the calendar is displaying December.
Long story short, how do I force either an individual button to refresh, or the entire calendar to refresh without changing the displayed month? Either of these (a day or the whole thing) is acceptable.
The issue I have is that when the data is updated, the control does not refresh. My PropertyChanged events fire for each of the text fields in my control, but the neither the control nor the button overall update. I know this because my valueconverter is not running. The only time my control does update is when I click on the next or previous month buttons. This causes the whole calendar to update, and every calendar button refreshes itself, updating my control with the current data.
This isn't helpful for 2 reasons. First it requires the user to change the month before any data is displayed. Secondly, the data which is being displayed is dependent on what month is showing. So, if the user is looking at November, and then clicks the "next month" button, the information for November will be loaded, but it will not display since the calendar is displaying December.
Long story short, how do I force either an individual button to refresh, or the entire calendar to refresh without changing the displayed month? Either of these (a day or the whole thing) is acceptable.