I am new to the Calendar controls. I simply want to show a week across the top of a form and allow the user to select a day and perform a refresh to a grid below it. I have attached a simple picture of what I would like to do below. thanks
Add the dates to be selected to the UltraDayView.CalendarInfo.SelectedDateRanges collection; one overload of the Add method lets you specify whether to clear the existing selection, so you pass true for that for the first call and false for each subsequent date to be added. Note that this can cause a visual update with each call, so if you want to prevent painting until the whole selection is applied, call BeginUpdate beforehand and EndUpdate afterward.