Hello,
A multi-selection RadComboBoxis integrated into a cell of a RadGridView in the
project that is attached.
The problem I have when trying to add a handle to an event to customize the
loading of the multiple values of the RadComboBox.
This code does not work ...
FrameworkElementFactory dateFactory = new FrameworkElementFactory (typeof
(RadComboBox), "Target");
dateFactory.SetValue (RadComboBox.AllowMultipleSelectionProperty, true);
dateFactory.SetValue (RadComboBox.ItemsSourceProperty, new List
<string> {"DBF", "REP"});
// Add handler not rule
RoutedEventHandler handler = new RoutedEventHandler (LoadedTarget_RadComboBox);
dateFactory.AddHandler (RadComboBox.LoadedEvent, handler, true);
On the other hand, if I add the handler outside of a Grid it works correctly
Thanks in advance.
[I'm attaching the test project code concerning the problem]