Completed
Last Updated: 13 Jul 2015 07:35 by ADMIN
ADMIN
Dimitar
Created on: 23 Jun 2015 09:27
Category: Panel, CollapsiblePanel, Label, GroupBox
Type: Bug Report
6
FIX. RadCollapsiblePanel - the header text is not changed when the form's Localizable property is set to true.
To reproduce:
- Set the Localizable property of the form to true.
- Change the header text of the collapsible panel.
2 comments
ADMIN
Stefan
Posted on: 08 Jul 2015 13:55
Hi Rodrigo,

You can either change the text of the panel manually when the language is changed, or you can create a descendant control with Localizable property for the header text:

  [ToolboxItem(true)]
    class MyCollapsiblePanel : RadCollapsiblePanel
    {
        [DefaultValue("")]
        [Localizable(true)]
        public new string HeaderText
        {
            get { return this.CollapsiblePanelElement.HeaderText; }
            set { this.CollapsiblePanelElement.HeaderText = value; }
        }
        
        public override string ThemeClassName
        {
            get
            {
                return typeof(RadCollapsiblePanel).FullName;
            }
            set
            {
                base.ThemeClassName = value;
            }
        }
    }


We will try to address this in the upcoming service pack.

I hope this helps.

Rodrigo Cesar
Posted on: 02 Jul 2015 18:42
I need this fixed quickly. How can I deploy an application without translation?