Hi,
I have RadGridView with defined RowDetailsTemplate as below:
<telerik:RadGridView.RowDetailsTemplate> <DataTemplate> <telerik:RadTabControl> <telerik:RadTabItem Header="Tab1"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="100" /> <RowDefinition Height="50" /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Text="TestVar1" /> <TextBlock Grid.Row="1" Text="TestVar2" /> </Grid> </telerik:RadTabItem> </telerik:RadTabControl> </DataTemplate> </telerik:RadGridView.RowDetailsTemplate>When I expand row details, scroll down until details are not visibile and then go back to see again row details - a scrollbar jumps in strange way just before details shows. You can easy reproduce this behavior because there is no binding or anything. I found that when i comments out RadTabControl from details template as below:
<telerik:RadGridView.RowDetailsTemplate> <DataTemplate> <!--<telerik:RadTabControl> <telerik:RadTabItem Header="Tab1">--> <Grid> <Grid.RowDefinitions> <RowDefinition Height="100" /> <RowDefinition Height="50" /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Text="TestVar1" /> <TextBlock Grid.Row="1" Text="TestVar2" /> </Grid> <!--</telerik:RadTabItem> </telerik:RadTabControl>--> </DataTemplate> </telerik:RadGridView.RowDetailsTemplate>there is no problem with jumping scroll. Can you help me guys?
Thanks