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

14 posts, 1 answers
  1. Stanley
    Stanley avatar
    32 posts
    Member since:
    Apr 2012

    Posted 25 Apr 2012 Link to this post

    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

  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 26 Apr 2012 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stanley
    Stanley avatar
    32 posts
    Member since:
    Apr 2012

    Posted 28 Apr 2012 Link to this post

    Hi Richard,

    Please get the source code below.
    TelerikradGrid

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

    Thanks a million :)
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 30 Apr 2012 Link to this post

    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
  6. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 30 Apr 2012 Link to this post

    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 >>
  7. Stanley
    Stanley avatar
    32 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    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 
  8. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 30 Apr 2012 Link to this post

    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
  9. Answer
    Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 01 May 2012 Link to this post

    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 >>
  10. Stanley
    Stanley avatar
    32 posts
    Member since:
    Apr 2012

    Posted 10 Sep 2012 Link to this post

    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.
  11. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 12 Sep 2012 Link to this post

    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 >>
  12. Alexandru
    Alexandru avatar
    4 posts
    Member since:
    Apr 2012

    Posted 26 Feb 2015 Link to this post

    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 :(
  13. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 26 Feb 2015 Link to this post

    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.

     
  14. Kaz Fernandes
    Kaz Fernandes avatar
    1 posts
    Member since:
    May 2010

    Posted 16 Mar 2015 in reply to Stefan Link to this post

    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.
  15. Hristo Merdjanov
    Admin
    Hristo Merdjanov avatar
    710 posts

    Posted 19 Mar 2015 Link to this post

    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.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready