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

Buggy inheritance

1 Answer 51 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Alexandr
Top achievements
Rank 1
Alexandr asked on 27 Oct 2008, 02:41 PM

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:

http://picasaweb.google.ru/Alex.Kostikov/pMuNfD#5261842238804074226

 

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

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 29 Oct 2008, 04:52 PM
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.

Regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Treeview
Asked by
Alexandr
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or