RadTitleBar Issues

2 posts, 0 answers
  1. Tim
    Tim avatar
    54 posts
    Member since:
    Apr 2007

    Posted 02 May 2007 Link to this post

    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?
  2. Dimitar Kapitanov
    Dimitar Kapitanov avatar
    632 posts

    Posted 03 May 2007 Link to this post

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top