Completed
Last Updated: 23 Mar 2015 15:48 by Eric
ADMIN
Boryana
Created on: 01 May 2012 06:24
Category: GridView
Type: Bug Report
8
FIX. RadGridView - saving a form with RadGridView produces the following error at design time: Code generation for property "PrintCellPaint" failed
Saving a form with RadGridView produces the following error at design time: Code generation for property "PrintCellPaint" failed.

We isolated the following steps which reproduce the issue: 
1. Drag and drop RadPageView on the form. Add 2 pages. 
2. Add a RadGridView to one of the pages. 
3. Saved and opened the form. 
4. Select the other page and save the form. 
 case #1: If the grid is empty - Code generation for property 'PrintCellPaint' failed. Error was: 'Object does not match type.'
 case #2: If the grid is data bound - Code generation for property 'PropertyChanging' failed. Error was: 'Object does not match type.'
The same errors if you use RadDock with tabbed documents.
2 comments
Eric
Posted on: 13 May 2014 14:52
Not sure exactly what's causing it, but I'm getting "Code generation for property 'PropertyChanging' failed.  Error was: 'Object does not match target type.'"
Jesse Dyck
Posted on: 19 Sep 2013 12:07
I am having same issue but with other property 'RootElement' I copied 2 RadButtons and one rad textbox from one form to another and it started displaying this error message.