This is a migrated thread and some comments may be shown as answers.

CheckBox inside daycell

2 Answers 106 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
charu
Top achievements
Rank 1
charu asked on 09 Jul 2010, 03:52 PM
Hi,

I want to create UI as shown in attached image.To acheive this functionality i have created DayButtonStyle for RadCalender.
I want to use the checked event of the checkbox ,but when i click on check box ,SelectionChanged event of RadCalender is fired and checkbox event is not fired .
From this Screen i want to save information of the selected days(selected by checkbox) but i am unable to do that.Also checkbox are also displayed in the WeekNames that i does not want.

Please help me as i am really stuck at this point.


Thanks and Regards,
Charu Pahuja

2 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 13 Jul 2010, 12:20 PM
Hello Charu,

We will have to further investigate this issue but the feature you describe is not a common task for the calendar. I think if you add a CheckBox in the ControlTemplate and TemplateBind its IsChecked to IsSelected of the Calendar Button it will work.

Both the week headers and the selectable day buttons use CalendarButtons. Eventually you can create a TemplateSelector and check the value of the data displayed in the button. The view model used there have Type property which you can use to determine what template should be used.

Greetings,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chris
Top achievements
Rank 1
answered on 04 Apr 2012, 02:41 PM
Charu or anyone..

Did you find a solution to this problem at all or did the Telerik suggestion work?  As I've asked a similar question as part of this post - http://www.telerik.com/community/forums/silverlight/calendar/double-click-handler-possible.aspx 

Thanks

Chris
Tags
Calendar
Asked by
charu
Top achievements
Rank 1
Answers by
Pana
Telerik team
Chris
Top achievements
Rank 1
Share this question
or