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

Visual Studio designer error- Object does not match target type.

2 Answers 402 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Karl B
Top achievements
Rank 1
Karl B asked on 30 Mar 2015, 09:42 PM
In Visual Studio 2010 I often run into problems working with a RadGridView using a project binding source. I have not figured out how to recreate this issue consistently but it seems to happen after making a change in my code and recompiling.  The error will occur when attempting to change a property on the grid using the forms designer.

Sometimes the problem will magically go away after clicking on a different control and then clicking on the grid again. Other times I have to completely close VS and reopen it.

Sorry I don't have much more to go on but this problem has been driving me crazy. Hopefully someone has suggestions on how to fix it.

2 Answers, 1 is accepted

Sort by
0
Karl B
Top achievements
Rank 1
answered on 30 Mar 2015, 09:54 PM
Update: this occurs in VS 2012 and VS 2010.

Telerik version 2014.3.1021.40

0
Hristo
Telerik team
answered on 02 Apr 2015, 03:59 PM
Hi Karl,

Thank you for writing.

So far we have not received similar reports from other clients. Since we cannot reproduce the issue actually there is not much that we can do. If you continue to experience the error, please try and capture it in a video and send it to us so that we try to replicate and investigate. 

You can also search in google for similar error. Here are a few hits:
http://stackoverflow.com/questions/14591781/object-does-not-match-target-type
http://stackoverflow.com/questions/2932039/object-does-not-match-target-type-in-designdata
https://connect.microsoft.com/VisualStudio/feedback/details/714330/winforms-designer-object-does-not-match-target-type-error

I hope that your issue will be soon resolved. Looking forward to your reply. 

Regards,
Hristo Merdjanov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
Karl B
Top achievements
Rank 1
Answers by
Karl B
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or