This question is locked. New answers and comments are not allowed.
EDIT: To Telerik - My company has purchased the full version of Telerik. I am not using my company account to post here to avoid spam to my work e-mail. If you e-mail me at the address I'm using to post here, I can provide you with our customer ID.
Hello. I have a RadGridView. All of my columns are bound to "normal" properties in the view model, but one property is bound to a converter. The problem is that for each row, the value converter is called twice. (I have a breakpoint in the Convert function of the value converter.) The first time it is called, it passes in the object I expect. The second time it is called, it is passed in null. Any idea why this is happening? It should only be making the first call for each row, where it passes in the object MyClass. It should not be calling it the second time with null as the value.
I googled this and found something about UpdateSourceTrigger. This did not fix the problem.
Thanks in advance.
Hello. I have a RadGridView. All of my columns are bound to "normal" properties in the view model, but one property is bound to a converter. The problem is that for each row, the value converter is called twice. (I have a breakpoint in the Convert function of the value converter.) The first time it is called, it passes in the object I expect. The second time it is called, it is passed in null. Any idea why this is happening? It should only be making the first call for each row, where it passes in the object MyClass. It should not be calling it the second time with null as the value.
I googled this and found something about UpdateSourceTrigger. This did not fix the problem.
Thanks in advance.
<telerik:RadGridView x:Name="MyClassGrid" IsReadOnly="True" MaxHeight="279" Width="1000" ItemsSource="{Binding MyClass}" IsBusy="{Binding Path=BusyIndicator.IsBusy}" IsFilteringAllowed="False" ShowGroupPanel="False" AutoGenerateColumns="False" SelectionUnit="FullRow" SelectionMode="Extended" RowIndicatorVisibility="Collapsed"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Width="70" DataMemberBinding="{Binding DataContext, RelativeSource={RelativeSource Self}, Converter={StaticResource MyValueConverter}}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="Some label here" TextWrapping="Wrap" /> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridVieW>