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

TriggerAction in CalendarButtonStyle can not trigger

1 Answer 120 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 10 Apr 2013, 08:34 AM

HI:
  I meet this problem : When I click the button in the weekname's boader,the button can trigger,but when i click the button in eyeryday's ,in can not triger.
  My souce code is this address :name RadCalenderTheme.
 

<ContentControl x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" />
 <telerik:RadButton x:Name="rb" Content="申请"   HorizontalAlignment="Left" VerticalAlignment="Bottom" Visibility="Visible" Command="{Binding SeeDayCommand}">
                               <i:Interaction.Triggers>
                                   <i:EventTrigger EventName="Click" >
                                       <RadCalenderTheme:DataContextProxy/>
                                   </i:EventTrigger>
                               </i:Interaction.Triggers>
                           </telerik:RadButton>

public class DataContextProxy : TriggerAction<RadButton>
   {
       protected override void Invoke(object parameter)
       {
           AssociatedObject.Click += (sender, args) =>
                                         {
 
                                         };
       }
   }

 
you can also send this answer to my gmail:Wiseegret.xu@gmail.com.Thank you!!!

1 Answer, 1 is accepted

Sort by
0
Accepted
Ventzi
Telerik team
answered on 15 Apr 2013, 12:08 PM
Hi,

We've noticed that you've opened a support ticket on the same subject. We"ll suggest you to continue our conversation there.

Kind regards,
Ventzi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Calendar
Asked by
Lee
Top achievements
Rank 1
Answers by
Ventzi
Telerik team
Share this question
or