Where would be the best place to override the value displayed in week numbers?
I would like to create my own numbering. Alternate weeks (1,2,1,2,1,2), four week cycles (1,2,3,4,1,2,3,4) etc
Regards,
Tarek
1 Answer, 1 is accepted
0
Victor
Telerik team
answered on 01 Sep 2011, 04:06 PM
Hi Empowerit,
Thank you for writing.
This can be accomplished with a custom template selector and a binding converter.
The custom template selector will select a special item template that uses a value converter in order to convert
the regular week numbers to something else.
Here are the implementations of the template selector and the value converter:
I hope this solutions is helpful.
Please write again if you need further assistance with our controls.
Greetings,
Victor
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>