[Solved] When trying to use the new row I get Binding Errors when using the Office2019 theme and the new row is a visually empty

1 Answer 11 Views
GridView
Patrick
Top achievements
Rank 1
Patrick asked on 22 Jul 2026, 01:48 PM

When trying to use the new row I get Binding Errors when using the Office2019 theme and the new row is a visually empty. 
The Binding errors are:

  • System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.GridView.GridViewDataControl', AncestorLevel='1''. BindingExpression:Path=GridViewNewRowContent; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'Content' (type 'Object')
  • System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.GridView.GridViewDataControl', AncestorLevel='1''. BindingExpression:Path=GridViewNewRowContentTemplate; DataItem=null; target element is 'ContentPresenter' (Name=''); target property is 'ContentTemplate' (type 'DataTemplate')

When using the Office2013 theme everything works as expected. If I disable row virtualization the Office2019 theme works as expected. 
What do I need to change to get the Office2019 theme working with vivirtualization ?

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 23 Jul 2026, 07:52 AM

Hello, Patrick,

I noticed that you submitted the same question twice. To avoid splitting the discussion, let's continue in the other thread that was opened for the same topic: When trying to use the new row I get Binding Errors when using the Office2019 theme and the new row is a visually empty in UI for WPF | Telerik Forums

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Unlock smarter data exploration in RadGridView with AI-powered features. Enable natural language queries and help users uncover insights faster.

Learn more about RadGridView AI features

Tags
GridView
Asked by
Patrick
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or