This is a migrated thread and some comments may be shown as answers.

How to fix Code generation for property 'PrintCellPaint' failed?

15 Answers 182 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stanley
Top achievements
Rank 1
Stanley asked on 26 Apr 2012, 02:41 AM
I get an error in RadGridView when I closing the form.
But I never use this property =="

Full Message below:
Code generation for property 'PrintCellPaint' failed. Error was:'Object does not match target type'.

Please refer the attachment...

Thank You

15 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 26 Apr 2012, 12:04 PM
Hi Stanley, 

I haven't been able to replicate this issue, nor have I been able to find this problem logged in the Public Issue Tracking System
Can you add the code here (using the format code block) to show how to replicate this please? I'll be happy to take a look at it. 
Thanks
Richard
0
Stanley
Top achievements
Rank 1
answered on 28 Apr 2012, 12:46 PM
Hi Richard,

Please get the source code below.
TelerikradGrid

Please refer to this video.
http://www.youtube.com/watch?v=1JU2hASTT0E 

Thanks a million :)
0
Richard Slade
Top achievements
Rank 2
answered on 30 Apr 2012, 09:22 AM
Stanley, 

I'm afraid I can't get to your code sample. Please can you add it into the message using the format code block. The other way would be to open a support ticket. 
Thanks
Richard
0
Boryana
Telerik team
answered on 30 Apr 2012, 11:50 AM
Hello Stanley,

Thank you for writing.

We have not received reports on such errors so far. In this sense, it is essential for me to get your project, since it will allow me to reproduce and analyze the issue on my side. 

Just like Richard, I was not able to download the source from the link you have provided. Please open a support ticket and attach your project there.

I am looking forward to your reply.

All the best,
Boryana
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Stanley
Top achievements
Rank 1
answered on 30 Apr 2012, 03:10 PM
https://skydrive.live.com/?cid=dbdf9b2c2251d8aa&resid=DBDF9B2C2251D8AA!107&id=DBDF9B2C2251D8AA%21107

this link sure can download.
1 Click the link above.
2. Click on the TelerikRadGrid to download it.

btw, how to submit a bug issue?
I only see "suggest now" when access Public Issue Tracking System 
0
Richard Slade
Top achievements
Rank 2
answered on 30 Apr 2012, 03:16 PM
Hello Stanley, 

I have downloaded your project, but I am unable to replicate your issue. 
May I suggest that you also check all of your project references to ensure that all the Telerik assemblies are up to date. 
If this is the case, you can go to your account section to open a support ticket. 

Regards, 
Richard
0
Accepted
Boryana
Telerik team
answered on 01 May 2012, 03:29 PM
Hello everyone,

Thank you for writing.

Stanley, thank you for the video and the sample project. We managed to reproduce the issue on our side. It is already logged to our Public Issue Tracker under ID 10927. To vote for it and subscribe for its status updates, please follow this link: http://www.telerik.com/support/pits.aspx#/public/winforms/10927

Please excuse for the caused inconvenience. We will do our best to address the issue in the next major release. Due to the fact that the error occurs at design-time, I am not able to provide you with any workaround.

Thank you for your cooperation. Your Telerik points have been updated.

Kind regards,
Boryana
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Stanley
Top achievements
Rank 1
answered on 10 Sep 2012, 08:01 AM
Hi Support,

How is the status? 
http://www.telerik.com/support/pits.aspx#/public/winforms/10927 

How to check whether is fixed or not yet?

Thanks.
0
Boryana
Telerik team
answered on 12 Sep 2012, 01:53 PM
Hi Stanley,

Thank you for writing.

We did our best to address the design-time exception in Q2 2012. It turned out, however, that the issue requires resources we are currently not able to allocate. The issue is still with highest priority in our TODO list and we will do our best to address it soon. Nonetheless, I am not able to provide exact time-frame. Please excuse us for the caused inconvenience.

To subscribe for status updates, please click the star appearing under Issue Tracking at the right-low corner of the PITS page.

Kind regards,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Alexandru
Top achievements
Rank 1
answered on 26 Feb 2015, 04:07 PM
i have the same problem. it seems it was not fixed after 2 years.
i am using the 2014.3.1202.40 version of the Telerik.WinControls.GridView.dll

i am using a RadGrivView (a control derived from RadGridView) in a UserControl and it throws the same error when i save it at design time.

is there a fix for this?

alez :(
0
Stefan
Telerik team
answered on 26 Feb 2015, 04:59 PM
Hello Alexandru,

May I please ask you to supply us with your project or a sample one, where the issue can be reproduced, together with the steps that we need to take in order to replicate it. This will be really helpful as we don’t have access to the project previously supplied.

You can upload it somewhere or you can open a ticket and attach it there.

Thank you in advance for your time and cooperation.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kaz Fernandes
Top achievements
Rank 2
answered on 16 Mar 2015, 09:24 PM
I'm having a very similar problem with a RadGridView:

"Code generation for property 'RootElement' failed. Error was: 'Object does not match target type.'"

The form (containing the RadGridView) hasn't been edited at all; the only changes are those made by the Designer generated code.

It's worrying to see that this has been a known issue for almost 2 years but has not been fixed.
0
Hristo
Telerik team
answered on 19 Mar 2015, 12:06 PM
Hi Kaz,

Thank you for writing.

Regarding the PrintCellPaint failed message, it is a logged item in our feedback portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item. It is currently being investigated and I can assure you that a fix will be provided as soon as possible.

Could you please send us a project reproducing the behavior you experience? You can upload the project to a cloud server or if you prefer open a support ticket and attach it there. This way we can thoroughly investigate the problem and determine if it is related to the issue in this thread or not.

I hope this information was useful. Looking forward to your reply.

Regards,
Hristo Merdjanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Martin
Top achievements
Rank 1
answered on 22 Jun 2017, 02:36 AM

I'm having this problem too, on a regular basis. I usually fix it by deleting the grid, saving the form, and then copy the grid of a previous version. It is a really annoying problem which cost a lot of time.

0
Hristo
Telerik team
answered on 23 Jun 2017, 06:59 AM
Hello Martin,

Thank you for writing.

The issue has been fixed in our R1 2015 SP1 release. 

I hope this information was useful. Please let me know if you have other questions.

Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Stanley
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Stanley
Top achievements
Rank 1
Boryana
Telerik team
Alexandru
Top achievements
Rank 1
Stefan
Telerik team
Kaz Fernandes
Top achievements
Rank 2
Hristo
Telerik team
Martin
Top achievements
Rank 1
Share this question
or