Buggy inheritance

2 posts, 0 answers
  1. Alexandr
    Alexandr avatar
    1 posts
    Member since:
    Oct 2008

    Posted 27 Oct 2008 Link to this post

    When I use simple wrapper of RadTreeView in our company namespace the component looks different:


    namespace ComponentWrappers


      public class RadTreeView: Telerik.WinControls.UI.RadTreeView





    ComponentWrappers namespace is on the left, Telerik.WinControls.UI is on the right:



    How to make component from ComponentWrappers.RadTreeView look like native Telerik control?

  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 29 Oct 2008 Link to this post

    Hello Alexandr,

    When inheriting from RadControls classes, you should override the ThemeClassName property. 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.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top