This question is locked. New answers and comments are not allowed.
We are using version 2011.2.712.1040 of the Telerik Silverlight 4 controls. When we remove a tile view item from a Tile View and then add that tile view item back to the tile view the Header no longer displays. It shows the header text is there in debug mode but it doesnt display when the tile view item is rendered.
The following sample app reproduces the problem:
Please let us know if there is a fix for this.
Thanks, Mike
The following sample app reproduces the problem:
<
UserControl
x:Class
=
"SilverlightApplication1.MainPage"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"30"
></
RowDefinition
>
<
RowDefinition
Height
=
"*"
></
RowDefinition
>
</
Grid.RowDefinitions
>
<
StackPanel
Grid.Row
=
"0"
Orientation
=
"Horizontal"
>
<
Button
Content
=
"Add"
Name
=
"Button1"
/>
<
Button
Content
=
"Remove"
Name
=
"Button2"
/>
</
StackPanel
>
<
telerik:RadTileView
x:Name
=
"TileViewHost"
MaximizeMode
=
"ZeroOrOne"
MinimizedColumnWidth
=
"200"
MaxColumns
=
"2"
ScrollBarVisibility
=
"Auto"
Grid.Row
=
"1"
/>
</
Grid
>
</
UserControl
>
Partial
Public
Class
MainPage
Inherits
UserControl
Private
WithEvents
_HomeDocPanel
As
RadTileViewItem
Private
panels
As
New
ObservableCollection(Of RadTileViewItem)
Public
Sub
New
()
InitializeComponent()
TileViewHost.ItemsSource = panels
End
Sub
Private
Sub
Button1_Click(sender
As
System.
Object
, e
As
System.Windows.RoutedEventArgs)
Handles
Button1.Click
If
_HomeDocPanel
Is
Nothing
Then
_HomeDocPanel =
New
RadTileViewItem
End
If
_HomeDocPanel.Header =
"New Header"
panels.Add(_HomeDocPanel)
End
Sub
Private
Sub
Button2_Click(sender
As
System.
Object
, e
As
System.Windows.RoutedEventArgs)
Handles
Button2.Click
panels.Remove(_HomeDocPanel)
End
Sub
End
Class
Please let us know if there is a fix for this.
Thanks, Mike