Won't fix
Last Updated: 25 Jan 2017 13:11 by ADMIN
ADMIN
Telerik Admin
Created on: 07 Feb 2013 10:17
Category: ComboBox
Type: Bug Report
6
ComboBox: The Command doesn't execute on start up when RadComboBox is placed inside of GridViewColumn.Header
Place a RadComboBox in the GridViewColumn header and set SelectedIndex in the xaml. The SelectionChanged event is fired, but the command is not executed.

As a workaround you can set the SelectedIndex in xaml instead of on the Loaded event,
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Kalin
Posted on: 25 Jan 2017 13:10
Hi,

The XAML team has recently reviewed this issue and will not be addressing it as at this time the team is focusing on the bugs impacting the highest number of developers. If you have encountered this issue and it is blocking for your work please contact us through the support ticketing system with details on your setup and a reference to this item.

This is a timing issue that appears only when the SelectedIndex is set in XAML and the Command property is bound to a property in the ViewModel. The Command doesn't execute as at the moment SelectionChanged is fired (due to the set SelectedIndex), the Command is not initialized yet. 

As workaround the SelectedIndex can be bound to the ViewModel as well or set in the Loaded event of the control. 

Regards,
Kalin