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

RadTitleBar Issues

1 Answer 129 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 02 May 2007, 10:09 PM
I'm in the process of purchasing the control bundle and I'm still using the demo, but I have a problem that I can't figure out with the RadTitleBar.  If I use the title bar with the Office 2007 Theme, the minimize/maximize/close buttons are visible in design time, but are gone in runtime.  I tried it with the Office 2007 Silver theme and it works fine, if I turn it back to the black theme they disappear again. Is this a bug with the control/theme or am I missing something?

1 Answer, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 03 May 2007, 07:53 AM
Hi Tim Duquette,
We are aware of this behavior - it is caused by the fact that the images you refer to are set through the theme mechanism. However some of the themes have  those images serialized inside the XML file (through Base64 encoding) thus having always access to the images. I believe those are the themes that render correctly. Opposite to that some of the new themes do not have the images serialized inside of them - when this is the case, the referenced image is searched inside an ImageList associated with the themed control which I believe is not set in your case. So the theme searches for an image, but because there is no associated image list, the images is considered invalid and no image is rendered (we do not have default images for the buttons). If you drop an ImageList component on your form, load it with the proper images and associate it with the ImageList property of the respective RadControl instance.
We are considering now how to generalize and make simpler the mechanism that references the used images inside a theme.

Sincerely yours,
Dimitar Kapitanov
the telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TitleBar
Asked by
Tim
Top achievements
Rank 1
Answers by
Dimitar Kapitanov
Telerik team
Share this question
or