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

Content panel backcolor

2 Answers 76 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mojtaba
Top achievements
Rank 1
Mojtaba asked on 02 Mar 2009, 11:45 AM
I decided to add radTreeView to radGroupElement so I Change EnableHostControllerMode to True and then the backColor of content is changed. I try to set backColor of content to transparent, but when I run from, the color was white.
after that I set backColor of content to custom color(Red,Blue,....),but when I run from, the color was white.
In fact I want change EnableHostControllerMode without any affect on color.
any idea??


2 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 02 Mar 2009, 04:06 PM
Hi Mojtaba,

I suggest setting the BackColor property of the ContentPanel in code after the InitilizeComponent() method is called in your application's form. I think the issue comes from serialization/deserialization of the applied theme. Another thing you can do is to modify the designer generated code by locating the serialized lines where you set the BackColor property and moving these settings at the bottom of the method after the EndInit method calls where the theme is applied. I have tested it and it works fine.

I hope this helps.

Please let me know if you need more assistance.


Greetings,
Boyko Markov
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.
0
Mojtaba
Top achievements
Rank 1
answered on 04 Mar 2009, 06:07 AM
Hi Boyko,

Thank you for your reply. I set BackColor after InitialaizeComponent() and it works.

Best Regards.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Mojtaba
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Mojtaba
Top achievements
Rank 1
Share this question
or