This question is locked. New answers and comments are not allowed.
I've found that if I do either of the following:
my app crashes as soon as I populate ItemSource. Take out the <Canvas> or <Button> tags, and it works just fine. Is this a limitation of DataBoundListBox, or a bug?
I'm using the latest tool set, just downloaded it last week.
<
telerikPrimitives:RadDataBoundListBox
x:Name
=
"FileList"
>
<
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Text
=
"{Binding DisplayName}"
Margin
=
"0,0,0,12"
TextTrimming
=
"WordEllipsis"
FontSize
=
"{StaticResource PhoneFontSizeMediumLarge}"
/>
<
Canvas
Grid.Column
=
"1"
>
<
Image
Source
=
"/Icons/appbar.basecircle.rest.png"
>
<
Image.RenderTransform
>
<
ScaleTransform
ScaleX
=
"0.75"
ScaleY
=
"0.75"
/>
</
Image.RenderTransform
>
</
Image
>
<
Image
Source
=
"/Icons/appbar.transport.play.rest.png"
>
<
Image.RenderTransform
>
<
ScaleTransform
ScaleX
=
"0.75"
ScaleY
=
"0.75"
/>
</
Image.RenderTransform
>
</
Image
>
</
Canvas
>
</
Grid
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
</
telerikPrimitives:RadDataBoundListBox
>
<
telerikPrimitives:RadDataBoundListBox
x:Name
=
"FileList"
>
<
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Text
=
"{Binding DisplayName}"
Margin
=
"0,0,0,12"
TextTrimming
=
"WordEllipsis"
FontSize
=
"{StaticResource PhoneFontSizeMediumLarge}"
/>
<
Button
Grid.Column
=
"1"
Content
=
"Test"
/>
</
Grid
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
</
telerikPrimitives:RadDataBoundListBox
>
my app crashes as soon as I populate ItemSource. Take out the <Canvas> or <Button> tags, and it works just fine. Is this a limitation of DataBoundListBox, or a bug?
I'm using the latest tool set, just downloaded it last week.