2 posts, 1 answers
  1. FilipN
    FilipN avatar
    15 posts
    Member since:
    Jul 2009

    Posted 22 Jul 2009 Link to this post

    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
                    return "Telerik.WinControls.UI.RadDropDownButton";
                    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?

  2. Answer
    Nikolay avatar
    1805 posts

    Posted 22 Jul 2009 Link to this post

    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,
    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.
Back to Top