TriggerAction in CalendarButtonStyle can not trigger

2 posts, 1 answers
  1. Lee
    Lee avatar
    6 posts
    Member since:
    Oct 2012

    Posted 10 Apr 2013 Link to this post

    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!!!

  2. Answer
    Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 15 Apr 2013 Link to this post

    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.

  3. DevCraft banner
Back to Top