I have a RadGridView with a RadDataForm inside the RowDetails. When I expand a row and then scroll my mouse wheel through the grid results, the scrolling halts when my mouse array is over the RadDataForm....as if the DataForm is grabbing the scroll focus (but there are no scrollbars on the DataForm).
How can I prevent this? Thanks.
Here is my main xaml code:
And then this is my DetailsView
How can I prevent this? Thanks.
Here is my main xaml code:
<
telerik:RadGridView
Grid.Row
=
"1"
IsReadOnly
=
"True"
ShowGroupPanel
=
"False"
RowIndicatorVisibility
=
"Collapsed"
IsFilteringAllowed
=
"False"
ItemsSource
=
"{Binding Results}"
AutoGenerateColumns
=
"False"
>
<
telerik:RadGridView.Style
>
</
telerik:RadGridView.Style
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewToggleRowDetailsColumn
/>
<
telerik:GridViewSelectColumn
IsVisible
=
"{Binding DataContext.IsMultiSelect, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:PatientSearchView}}}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Id}"
Width
=
"*"
/>
................
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.RowDetailsTemplate
>
<
DataTemplate
>
<
telerik:RadTabControl
Height
=
"400"
HorizontalAlignment
=
"Stretch"
Margin
=
"8,8,20,8"
VerticalAlignment
=
"Center"
>
<
telerik:RadTabItem
Header
=
"Details"
HorizontalContentAlignment
=
"Stretch"
HorizontalAlignment
=
"Left"
>
<
local:DetailsView
DataContext
=
"{Binding Details}"
/>
</
telerik:RadTabItem
>
...............
</
telerik:RadTabControl
>
</
DataTemplate
>
</
telerik:RadGridView.RowDetailsTemplate
>
</
telerik:RadGridView
>
And then this is my DetailsView
<
s:View
....>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"100"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Border
BorderBrush
=
"Black"
BorderThickness
=
".5"
Grid.Row
=
"0"
Height
=
"90"
Width
=
"90"
Margin
=
"10,0,0,0"
HorizontalAlignment
=
"Left"
>
<
Image
Source
=
"{Binding Details.Photo}"
/>
</
Border
>
<
telerik:RadDataForm
AutoGenerateFields
=
"True"
CurrentItem
=
"{Binding Details}"
CommandButtonsVisibility
=
"Commit,Cancel,Edit"
Grid.Row
=
"1"
ScrollViewer.CanContentScroll
=
"False"
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"EditEnded"
>
<
i:InvokeCommandAction
Command
=
"{Binding Save}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
telerik:RadDataForm
>
</
Grid
>
</
s:View
>