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