I'm thinking of a hybrid control that would allow the user to select a year, a month in a year a date, or collection of dates.
My scenario is that we have an application that sits on top of an Analysis Services Cube. In that cube we have a date dimension and you can use that dimension to slice data by year or month or date or set of dates.
My current implementation involves a TreeView - where the user selects year or month and then uses the calendar to select a date (screenshot
). This allows then to select the Year by selecting that TreeNode, the month, or a specific date in the month.
However, I don't really love this implementation. I like the contextual representation and ease of mouse gesture movement in the RadCalendar control. Particularly, drilling up and down to through the views (Decade View, Year View). I have this nagging feeling that I could customize the control in some way so that I could get it to work for my uses instead. For example in the Year View, instead of clicking the month drilling down to the Month View - change it so clicking the Month selects the month instead - and instead change the drilldown to be attached to a linkbutton on the month text abbreviation (screenshot
Would something like that be possible?
If so, I'm not sure how to go about doing that. I tried loading up Expression Blend 3 and dragging the RadControl into it, thinking it's got to be somewhere in the template/style area that I do this but I get an error 'Cannot locate resource 'themes/genericvista.xaml'' (screenshot
). Admittedly by Blend experience is terrible but I'd like to work on that.
Am I on the right track?