<
telerikGrid:RadGridView.GroupHeaderTemplate
>
<
DataTemplate
>
<
StackPanel
x:Name
=
"stkPanel"
Orientation
=
"Horizontal"
>
<
Button
x:Name
=
"headerCheckButton"
Margin
=
"0,0,0,0"
Style
=
"{Binding Group, Converter={StaticResource WrntyAFRGroupHeaderConverter}, ConverterParameter=ISCHECKED}"
Click
=
"headerCheckButton_Click"
/>
<
TextBlock
x:Name
=
"tbItemClass"
Margin
=
"2,0,50,0"
Width
=
"150"
Text
=
"{Binding Group, Converter={StaticResource WrntyAFRGroupHeaderConverter}, ConverterParameter=ITEMCLASS}"
/>
<
Button
x:Name
=
"btnNotes"
Margin
=
"50,0,25,0"
Width
=
"35"
Style
=
"{Binding Group, Converter={StaticResource WrntyAFRGroupHeaderConverter},ConverterParameter=NOTES}"
Tag
=
"{Binding Group, Converter={StaticResource WrntyAFRGroupHeaderConverter}, ConverterParameter=NOTESOBJECT}"
Click
=
"btnNotes_Click"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerikGrid:RadGridView.GroupHeaderTemplate
>
I have a radgrid view implemented with grouping enabled. I have the value of the grouping column, what I want is to return that row based on the group name I pass.
Why i want the group header is, I have few other controls on the row on which i want to set a style for a button based on some condition at runtime. foreach group i want to access the btnNotes and runtime based on some condition.
I am using 2010.1.422.1030 version. please suggest ONLY a solution for this version.
Let me know if you require any further information on this.
Thanks,
Shiras