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

Error - Property value is not valid

2 Answers 262 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 30 Apr 2015, 07:42 AM

Hi,

we got a pretty infuriating problem with Telerik for WinForms. We don't know why but the project started to producing errors when renaming RadControls: "Property value is not valid." (see attached screenshot). The renaming is still done, but the code for the old name is still left behind in the designer. So if I add a checkbox, it gets the name "radCheckBox1" and rename it to "radCheckBoxUser", the error will pop up and code for both will stay in the designer code. Also, if I create an event via the property window in VS for radCheckBoxUser, it will still reference the old checkbox and create a "radCheckBox1_ToggleStateChanged" event. So almost every time we add or change a control, we have to clean up designer code and code behind, which is too time consuming.

Can anybody give us a clue as to why this behavior occurs and help us to solve this problem? It would be really appreciated.

Thanks and regards,

Steve.

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 04 May 2015, 12:49 PM
Hello Steve,

Thank you for writing.

This is a known issue in our TPF. It is already logged 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. The issue is under development and a fix will be released with our next official release. Currently, the only possible workaround is to rename the controls from the VS editor with Find & Replace.

Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
 

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

 
0
Steve
Top achievements
Rank 1
answered on 06 May 2015, 12:48 PM

Thanks for your answer, I hope this patch will come out soon :)

Regards,

Steve.

Tags
General Discussions
Asked by
Steve
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Steve
Top achievements
Rank 1
Share this question
or