Just recently, last two weeks, I have been getting a design time error in a winforms project I am working on.
The error in a Visual Studio dialog:
Code generation for property 'PrintCellPaint' failed. Error was: 'Object does not match type.'
It appeared to occur only when I have a radgridview on a radPageView page and when I select a different page then save the form.
if the radGridView is databound the error changes to:
Code generation for property 'PropertyChanging' failed. Error was: 'Object does not match type.'
To test I tried this on a fresh winfoms project. VB or C#.
Added a radPageView with two pages.
Added a radGridView to one of the pages saved and opened the form. Select the other page and try to save the form. I get the above error.
Remove the RadGridView from the pageview and put it anywhere else on the form. No error.
Modifying any other control, resize a button, before saving: no error.
I also get the same error if I use a radDock instead of a radPageView.
I have tried this on two different machines, one with windows 8.1 and the other with windows 7. Both have VS 2013 profesional with update 1 and the Telerik winforms controls v.2014,1,402,40
All references to assemblies seem ok.
I have tried a repair on the winforms controls via the Telerik control panel, a repair of Vs2013 and a repair of Vs2013 update 1. All to no avail.
Any insights welcome, or any advise on how to diagnose the error further.
The error in a Visual Studio dialog:
Code generation for property 'PrintCellPaint' failed. Error was: 'Object does not match type.'
It appeared to occur only when I have a radgridview on a radPageView page and when I select a different page then save the form.
if the radGridView is databound the error changes to:
Code generation for property 'PropertyChanging' failed. Error was: 'Object does not match type.'
To test I tried this on a fresh winfoms project. VB or C#.
Added a radPageView with two pages.
Added a radGridView to one of the pages saved and opened the form. Select the other page and try to save the form. I get the above error.
Remove the RadGridView from the pageview and put it anywhere else on the form. No error.
Modifying any other control, resize a button, before saving: no error.
I also get the same error if I use a radDock instead of a radPageView.
I have tried this on two different machines, one with windows 8.1 and the other with windows 7. Both have VS 2013 profesional with update 1 and the Telerik winforms controls v.2014,1,402,40
All references to assemblies seem ok.
I have tried a repair on the winforms controls via the Telerik control panel, a repair of Vs2013 and a repair of Vs2013 update 1. All to no avail.
Any insights welcome, or any advise on how to diagnose the error further.