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

Error Parsing Raditem

9 Answers 165 Views
Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Richard asked on 12 Nov 2012, 02:49 PM
hello folks,

Environment:
  • VS2012
  • Windows 8

Just upgraded to Latest version of Winforms controls, 2012.3 1017, upgrade went fine, but now when I open certain forms in my project designer gives a number of different errors: see attached.

This only happens on certain forms, but these forms aren't doing anything ground breaking and have mostly the same types of controls, buttons, listbox / grid, text boxes, etc.This error causes run time issues as well.

Have any of you run across this at all?

Richard

9 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 12 Nov 2012, 08:07 PM
Hi Richard,

This issue is caused by the fact that we changed the internal element structure in some of our controls in Q3 2012. Please, find the full answer to your question in your support ticket regarding the same issue.
 
All the best,
Jack
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Bob
Top achievements
Rank 2
answered on 02 Jan 2013, 04:55 PM
I am experiencing the same problem on various forms.
Can I get the answer/solution to resolve this problem.

Regards,
Bob
0
Stefan
Telerik team
answered on 03 Jan 2013, 11:33 AM
Hello Bob,

As my colleague Jack states this is cause by changes in the element tree of some controls. This changes causes issues in properties serialized through the Element Hierarchy Editor at design time. Removing these serialized properties should solve the issue. If this does not work for you, please send us your project and we will look into it for you.

Kind regards,
Stefan
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
0
Bob
Top achievements
Rank 2
answered on 03 Jan 2013, 03:50 PM
Thanks for sharing the information.  However I'm not sure what you mean by removing serialized properties.
Can you provide further explanation on how to do such a thing?

Thanks
0
Stefan
Telerik team
answered on 07 Jan 2013, 09:50 AM
Hello Bob,

If you have used the Edit UI Editor of any RadControl to introduce some setting, this will serialize your setting in your form designer file. With the new changes, those serialized settings is what is causing the error mentioned. If you remove them from the designer, the error should be resolved.
 
All the best,
Stefan
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
0
Michael
Top achievements
Rank 1
answered on 29 Jan 2013, 02:36 AM
I also have the same problem with setting properties on the RadListView.  Not being able to use the element hierarchy editor to change property settings is an important bug, and is unacceptable.  When is this going to be fixed?

I am using 2012.3 1211.40
0
Stefan
Telerik team
answered on 31 Jan 2013, 01:48 PM
Hello Michael,

You are able to change setting vie the Element Hierarchy Editor. The issue comes from the fact that if you had such settings introduced prior Q3 2012 they will cause this error and you have to remove them from your designer, rebuild the form and apply them once again to the desired elements or in code.

This is needed because we have changed the control element structure in Q3 2012 and the serialized settings will points to wrong elements which will cause such errors.

I hope this helps.

Greetings,
Stefan
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
0
Steve
Top achievements
Rank 1
answered on 15 Feb 2013, 03:26 PM
I was using 2012.2.912.40 and upgraded to version 2012.3 1211.40. Now I am also experiencing the same problems due to setting changes in the controls.

Do you have a list of the controls that these changes applied to and which portions of the serialized properties need to be removed and readded? I assume I would have to do the element removal and readd in code since the form has errors after the version update.

Thanks,
Steve H

0
Svett
Telerik team
answered on 20 Feb 2013, 03:08 PM
Hello Stephen,

There is no particular list. When you introduce changes to the controls element tree via the UI, those changes are serialized in design time as lines accessing the children of the tree and setting some properties to them. You basically need to remove all lines in the designer file, where elements from the Children collection are modified.

Additionally, if you want to follow up with anything new, you can use our release notes here.

I hope this helps.

Greetings,
Svett
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
Visual Studio Extensions
Asked by
Richard
Top achievements
Rank 2
Answers by
Jack
Telerik team
Bob
Top achievements
Rank 2
Stefan
Telerik team
Michael
Top achievements
Rank 1
Steve
Top achievements
Rank 1
Svett
Telerik team
Share this question
or