Last Updated: 31 Aug 2016 07:41 by ADMIN
Created on: 01 Dec 2015 08:55
Category: Form
Type: Bug Report
FIX. RadForm - invalid code is generated when the Localizable property is set to true and invalid name is entered.
To reproduce:
- Create a new form.
- Change the Localizable property to true.
- Add a RadLabel to the form.
- Select the label and change its name to "name with space" and press Enter.
- VS editor will say that it is an invalid name and return the name to previous value.
- Now look at designer.cs file of the form and you will see a lot of RootElement properties getting values form resource!

Same issue can be reproduced by localizing a custom control:
- Open UserControl.cs in Design mode.
- On property editor, change property Language from "(Default)" to "Portuguese (Brazil)".
- Now change a label text  to "Nome".
- See file EditUserControl.Designer.cs. It has many RootElement lines!

Delete the generated code and rebuild.
Posted on: 31 Aug 2016 07:41
Hi Mieke, 

this issue is resolved back in Q1 2016, so it should be OK in the versions that follow. Let me know if you are using newer version and still experience this issue.
Posted on: 30 Aug 2016 09:10
It's not active in Q2 2016, hopefully Q3 2016 ?
Posted on: 18 Jan 2016 14:38
Hi Rodrigo,

a fix for this is introduced in Q1 2016, which was released last week. Feel free to upgrade to the latest version in order to take advantage of this and many other fixes and improvements.

Let us know if you observe any further issues regarding this matter.
Rodrigo Cesar
Posted on: 17 Dec 2015 10:15
When this will be fixed!? These are not the unique ways to dirty design code and resource with "RootElement" lines! It is annoying me.