This question is locked. New answers and comments are not allowed.
After many hours of troubleshooting, we have discovered if a control(listbox) is placed inside a RadPanelBarItem, the OnApplyTemplate event of the control(listbox) is never fired. Here is the code inside the RadPanelBar.
The control is an MVVM implementation of a Telerik listbox with features added like filtering, context menus, sorting, drag and drop, and number of filtered rows in the listbox indicator. "Cars" is the bound observable collection passed to the listbox.
P.S. My client has an active full license to all the Telerik tools.
<
telerik:RadPanelBar
AllowDrop
=
"True"
>
<
telerik:RadPanelBarItem
AllowDrop
=
"True"
>
<
controls:CarListBox
Name
=
"lbCars"
MinHeight
=
"60"
Margin
=
"5"
Cars
=
"{Binding AllCars}"
EnableDragAndDrop
=
"True"
Background
=
"White"
BorderBrush
=
"Black"
BorderThickness
=
"1"
Visibility
=
"{Binding CanSeeCars}"
/>
</
telerik:RadPanelBarItem
>
</
telerik:RadPanelBar
>
The control is an MVVM implementation of a Telerik listbox with features added like filtering, context menus, sorting, drag and drop, and number of filtered rows in the listbox indicator. "Cars" is the bound observable collection passed to the listbox.
P.S. My client has an active full license to all the Telerik tools.