Hello,
Haven't found a specific case like mine on the forums, but I've tried several variances of code I've seen with no avail.
My problem is simple in nature, I have a data-bound GridViewComboBoxColumn that, when I load the program, doesn't display values synonymous with the data its bound to, or at all. Data its bound to is correct on our other application using the same datasource, and the List<T> its bound to shows up when the combo box is clicked on, there are just no values initially in the grid.
XAML
C# on constructor call for the new view being created.
This is the ONLY instance of this in our tool, while every other GridViewComboBoxColumn is formatted the same way and working perfectly. The only difference with this, is the C# is getting called inside the constructor of a new view, while the rest of the ItemsSource assignments are inside the LayoutRoot_Loaded event.
Thank you.
Haven't found a specific case like mine on the forums, but I've tried several variances of code I've seen with no avail.
My problem is simple in nature, I have a data-bound GridViewComboBoxColumn that, when I load the program, doesn't display values synonymous with the data its bound to, or at all. Data its bound to is correct on our other application using the same datasource, and the List<T> its bound to shows up when the combo box is clicked on, there are just no values initially in the grid.
XAML
<
telerik:GridViewComboBoxColumn
Header
=
"Type"
Width
=
"160"
UniqueName
=
"Type"
DataMemberBinding
=
"{Binding Path=Type}"
DisplayMemberPath
=
"Name"
/>
C# on constructor call for the new view being created.
((GridViewComboBoxColumn)(Tasks.Columns[1])).ItemsSource = AdminHandler.GetQuestTaskTypes();
This is the ONLY instance of this in our tool, while every other GridViewComboBoxColumn is formatted the same way and working perfectly. The only difference with this, is the C# is getting called inside the constructor of a new view, while the rest of the ItemsSource assignments are inside the LayoutRoot_Loaded event.
Thank you.