There's a problem. If I have RowDetailTemplate and say, HyperlinkButton inside, I need to click twice for click event to be fired.
It seems the 1st click activates row detail panel itself, and just then HyperlinkButton can receive the event.
The code is pretty simple:
Is there any workaround for the issue?
It seems the 1st click activates row detail panel itself, and just then HyperlinkButton can receive the event.
The code is pretty simple:
<
telerik:RadGridView
SelectionMode
=
"Single"
SelectionUnit
=
"FullRow"
CanUserFreezeColumns
=
"False"
EditTriggers
=
"None"
IsSynchronizedWithCurrentItem
=
"False"
ShowGroupPanel
=
"False"
AutoGenerateColumns
=
"False"
RowIndicatorVisibility
=
"Collapsed"
ScrollViewer.HorizontalScrollBarVisibility
=
"Auto"
RowStyle
=
"{StaticResource GridViewRowStyle}"
IsFilteringAllowed
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewToggleRowDetailsColumn
Width
=
"20"
/>
...
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.RowDetailsTemplate
>
<
DataTemplate
>
<
HyperlinkButton
x:Name
=
"hl"
Content
=
"Link"
Margin
=
"0 2 0 0"
HorizontalAlignment
=
"Left"
Visibility
=
"{Binding Status, Converter={StaticResource enumConverter}, ConverterParameter=Active}"
Style
=
"{StaticResource HyperlinkButtonNoBorderStyle}"
Click
=
"OnClick"
/>
</
DataTemplate
>
</
telerik:RadGridView.RowDetailsTemplate
>
</
telerik:RadGridView
>
Is there any workaround for the issue?