I have the below xaml code. When I change drawers the radgrid always has the same data (from the initial load). How can I get the grid to refresh it's data?
<
telerik:RadTileView
DataContext
=
"{Binding Source={StaticResource DS}, PresentationTraceSources.TraceLevel=High}"
ItemsSource
=
"{Binding}"
x:Name
=
"mainTileView"
Height
=
"Auto"
Width
=
"Auto"
Margin
=
"0 0 7 0"
MaximizeMode
=
"One"
TileStateChangeTrigger
=
"SingleClick"
MinimizedColumnWidth
=
"180"
TileStateChanged
=
"TileView1_TileStateChanged"
>
<
telerik:RadTileView.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadTileViewItem"
>
<
Setter
Property
=
"MinimizedHeight"
Value
=
"155"
/>
</
Style
>
</
telerik:RadTileView.ItemContainerStyle
>
<
telerik:RadTileView.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding UserLabel}"
/>
</
DataTemplate
>
</
telerik:RadTileView.ItemTemplate
>
<
telerik:RadTileView.ContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
telerik:RadFluidContentControl
SmallToNormalThreshold
=
"190, 140"
NormalToSmallThreshold
=
"190, 140"
NormalToLargeThreshold
=
"320, 320"
LargeToNormalThreshold
=
"320, 320"
>
<
telerik:RadFluidContentControl.SmallContent
>
<
Grid
>
<
Border
Width
=
"193"
Height
=
"130"
RenderTransformOrigin
=
"0.248,-1.288"
>
<
StackPanel
>
<
TextBlock
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
FontSize
=
"12"
Text
=
"DS Storage System:"
/>
<
TextBlock
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
FontSize
=
"12"
Text
=
"{Binding UserLabel}"
/>
</
StackPanel
>
</
Border
>
</
Grid
>
</
telerik:RadFluidContentControl.SmallContent
>
<
telerik:RadFluidContentControl.Content
>
<
Grid
>
<
StackPanel
>
<
TextBlock
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
FontSize
=
"12"
Text
=
"Drawers"
/>
</
StackPanel
>
</
Grid
>
</
telerik:RadFluidContentControl.Content
>
<
telerik:RadFluidContentControl.LargeContent
>
<
telerik:RadTileView
x:Name
=
"drawerTileView"
ItemsSource
=
"{Binding Source={ StaticResource DrawersData}}"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
Margin
=
"0 0 7 0"
MaximizeMode
=
"One"
TileStateChangeTrigger
=
"SingleClick"
MinimizedColumnWidth
=
"180"
TileStateChanged
=
"TileView1_TileStateChanged"
>
<
telerik:RadTileView.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadTileViewItem"
>
<
Setter
Property
=
"MinimizedHeight"
Value
=
"155"
/>
</
Style
>
</
telerik:RadTileView.ItemContainerStyle
>
<
telerik:RadTileView.ItemTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding DrawerNumber}"
/>
</
DataTemplate
>
</
telerik:RadTileView.ItemTemplate
>
<
telerik:RadTileView.ContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
TextBlock
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
FontSize
=
"12"
Text
=
"Drives"
/>
<
telerik:RadGridView
x:Name
=
"gridDrives"
ItemsSource
=
"{Binding Source={ StaticResource DrivesData}}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadTileView.ContentTemplate
>
</
telerik:RadTileView
>
</
telerik:RadFluidContentControl.LargeContent
>
</
telerik:RadFluidContentControl
>
</
Grid
>
</
DataTemplate
>
</
telerik:RadTileView.ContentTemplate
>
</
telerik:RadTileView
>