How to style and apply a new theme?

9 posts, 0 answers
  1. Sathish
    Sathish avatar
    6 posts
    Member since:
    Dec 2008

    Posted 28 Mar 2009 Link to this post

    Hi

    I tried styling the 3 different themes but I was only able to style the Popup section. I got the code which you have posted (comboboxtheme.zip). I didn't understand from where by default Grey background or Onfocus (Golden background) for Office_black theme is coming from? I changed all the brush resources to White still the background color was grey. Are these controls part of the dll? Is there any way that we can create our own theme?

    This problem is not only with one theme but for Summer and Vista also..


    Regards
    Sathish
  2. Sathish
    Sathish avatar
    6 posts
    Member since:
    Dec 2008

    Posted 31 Mar 2009 Link to this post

    Hi

    Awaiting for your reply.. Kindly let me know whether you need the sample project which I made?

    Regards
    Sathish
  3. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 01 Apr 2009 Link to this post

    Hello Sathish,

    I am not sure which brush you want to change. Can you please send me a screenshot or a project in which you indicate the color you want to change?

    Regards,
    Dimitrina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  4. Sathish
    Sathish avatar
    6 posts
    Member since:
    Dec 2008

    Posted 01 Apr 2009 Link to this post

    Hi

    Check the image in the Url: Combobox Screenshot  or http://dl.getdropbox.com/u/823180/TelerikCombo.JPG


    Regards
    Sathish
  5. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 01 Apr 2009 Link to this post

    Hello Sathish,

    The names of the brushes you need to change are as follows:

     - for the normal state: Background "ExpanderButtonNormal_Background", Border "ExpanderButtonNormal_Border"

     - for the mouseover state: Background "ExpanderButtonOver_Background", Border "ExpandButtonOver_OuterBorder"

    Let me know if you have further questions.


    Kind regards,
    Dimitrina
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  6. Sathish
    Sathish avatar
    6 posts
    Member since:
    Dec 2008

    Posted 02 Apr 2009 Link to this post

    Hi

    I have made enough changes but it still remains the same. I am attaching the project for your reference. Kindly take a look at it.
    Project Link (or) http://dl.getdropbox.com/u/823180/RadCombo.zip

    Thanks
    Sathish
  7. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 02 Apr 2009 Link to this post

    Hi Sathish,

    The problem is caused by the version of the controls you are using - it is older than the latest Q1 '09 release. I am sending you the project where I have fixed the theme file for you.

    You should apply the RadComboBox style:                   

         <

     

    Setter Property="Template" Value="{StaticResource NonEditableComboBox}" />
        
    <Setter Property="EditableTemplate" Value="{StaticResource EditableComboBox}" />
        
    <Setter Property="NonEditableTemplate" Value="{StaticResource NonEditableComboBox}" />

    Sincerely yours,

    Dimitrina
    the Telerik team

     


    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  8. Sathish
    Sathish avatar
    6 posts
    Member since:
    Dec 2008

    Posted 06 Jun 2009 Link to this post

    Hi Dimitrina

    Thanks for the reply. When I scroll keeping the combobox open after I apply my style, the page gets scrolled not the list in the combobox. Is there any way we can resolve that.

    Regards
    Sathish
  9. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 09 Jun 2009 Link to this post

    Hi Sathish,

    Please, accept out apologies for this problem. A fix will be provided with the upcoming internal build.

    I also gave you 1000 Telerik points.

    Greetings,
    Dimitrina
    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.
Back to Top