Hi Florian Perrichot,
Normally you cannot register for events in DataTemplates.
I reckon that listening for the LayoutUpdated event is not the best way to go here.
There are two ways to work around this:
1. If you have the source for the control you can use the Telerik routed events. A routed event can travel up and down the visual tree and it can be handled at any point along the way. If you make your event a routed event, you can add just one handler at the TeeeList control to care for all elements.
A routed event can be created like so:
RoutedEvent MyEvent =
Then you raise when needed and register for it with this code:
2. Create an attached property (behavior) and attach it to the custom user control. When the behavior is attached on the custom control it will register for this event. This means that the handler must be able to be a static method.
We can help you with creating an attached behavior if you need.
The feature about frozen or "floating" columns was actually implemented in the prototype of the control.
The panel that floats the columns is even in this release:
My suggestion though is to wait if possible until the Q1 release when the control will be updated, not it can serve mainly as a preview.
the Telerik team