This question is locked. New answers and comments are not allowed.
Hi,
I have this structure as defined below. The issue is with the buton down at the bottom as it's not firing the "SendKudosCommand" which I have defined in my ViewModel. I have another buton defined outside the scope of the ListBox and it fires up with no issue. Any suggestions?
<
telerikData:RadDataBoundListBox
>
<
telerikData:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Border
...>
<
telerik:RadExpanderControl
...>
<
telerik:RadExpanderControl.ContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
".2*"
/>
<
ColumnDefinition
Width
=
".6*"
/>
</
Grid.ColumnDefinitions
>
<
Ellipse
...>
<
Ellipse.Fill
>
<
ImageBrush
ImageSource
=
"{Binding UserPhoto}"
Stretch
=
"UniformToFill"
/>
</
Ellipse.Fill
>
</
Ellipse
>
<
StackPanel
...>
<
TextBlock
.../>
<
TextBlock
.../>
<
TextBlock
.../>
</
StackPanel
>
</
Grid
>
</
DataTemplate
>
</
telerik:RadExpanderControl.ContentTemplate
>
<
telerik:RadExpanderControl.ExpandableContentTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Vertical"
Grid.Row
=
"0"
>
<
TextBlock
.../>
<
ComboBox
>
...
</
ComboBox
>
</
StackPanel
>
<
StackPanel
Orientation
=
"Vertical"
Grid.Row
=
"1"
>
<
TextBlock
.../>
<
TextBox
.../>
</
StackPanel
>
<
Button
Grid.Row
=
"2"
Content
=
"Send"
HorizontalAlignment
=
"Right"
Command
=
"{Binding SendKudosCommand}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadExpanderControl.ExpandableContentTemplate
>
</
telerik:RadExpanderControl
>
</
Border
>
</
DataTemplate
>
</
telerikData:RadDataBoundListBox.ItemTemplate
>
</
telerikData:RadDataBoundListBox
>