[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 60 Views
GridView
Patrick
Top achievements
Rank 1
Patrick asked on 22 Jul 2026, 01:47 PM

When trying to use the new row with the Office2019 theme, I get binding errors and the new row is visually an empty row. Using Office2013 works as expected. The errors shown 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')

I am using version 2025.1.211. Disabling row virtualization makes it work with the Office2019 theme. What do I need to do to get it to work with the Office2019 theme and virtualization?

1 Answer, 1 is accepted

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

Hi Patrick,

I'm not sure why you're encountering this error when applying the Office2019 theme. I created a sample project with RadGridView and tested both the Office2013 and Office2019 themes. In both cases, the new row is displayed correctly, and I don't see the error on my side. Please see the results below:

Office2019 theme:

You can find my test project. Can you run it and compare how it differs from your setup? Is it possible to recreate your setup in the test project and get it back to me for further investigation?

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