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

RadDropDownButton

1 Answer 78 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
FilipN
Top achievements
Rank 1
FilipN asked on 22 Jul 2009, 11:53 AM
Hello Telerik Team,
I need to add functionality to dropdown buttons in our project (hook up Initialized event). However, when i tried to do so I have encountered problem with Layout of subclassed control. I have solved the problem by overriding following property
   public override string ThemeClassName
        {
            get
            {
                return "Telerik.WinControls.UI.RadDropDownButton";
            }
            set
            {
                base.ThemeClassName = "Telerik.WinControls.UI.RadDropDownButton";
            }
        }

is this valid solution? I have no idea why subclassed control got "wrong" layout. Is there any reference in documentation that would help me understand why this problem occured?



1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 22 Jul 2009, 12:12 PM
Hello Filip Nguyen,

You are on the right track with your solution. For additional information, please refer to the following Knowledge Base article: Inherit themes from RadControls.
 
If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
FilipN
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or