Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
URGENT My custom styles doesn't show at all
posted

I copie one of the original styles folder and inside of it, using NetAdvance AppStylist, I made all of my custom styles and saved it.

Then in visualstudio 2005, I imported the new styles folder in order to have it shown in the StyleSetName property from my project. It shows. The UltrawebTab control do change its layout, but instead of showing my new images and colors, it shows the regular styles from the original folder.

 I checked the ascx source, and it's really reading my custom css, pointing to the right folder, but my custom styles simply doesn't show at all.

 Have I missed any step to have it working here ?

 

thanks!


  • 1215
    posted
    You most likely need to update the class names in your custom StyleSet css files. Open a CSS file from one of the StyleSets that ship with NetAdvantage (like RubberBlack or Office2007Blue). You should see that the class names themselves include the name of the StyleSet. You'll need to update your custom styles to meet this convention.
     
    Why is this Required?
    When you set the StyleSetName property on a control (or at the application level) the class names that are rendered on the control include the StyleSetName as part of the class name. This ensures that the class name is unique and thus ensures that multiple StyleSets can be used on the same page.
     
    I hope this solves your problem -- if not, please post more info.
     
    (Note: The class names are automatically updated when you edit StyleSets using AppStylist)
    "lucianah" wrote in message news:64111@forums.infragistics.com...

    I copie one of the original styles folder and inside of it, using NetAdvance AppStylist, I made all of my custom styles and saved it.

    Then in visualstudio 2005, I imported the new styles folder in order to have it shown in the StyleSetName property from my project. It shows. The UltrawebTab control do change its layout, but instead of showing my new images and colors, it shows the regular styles from the original folder.

     I checked the ascx source, and it's really reading my custom css, pointing to the right folder, but my custom styles simply doesn't show at all.

     Have I missed any step to have it working here ?

     

    thanks!




    http://forums.infragistics.com/forums/p/17671/64111.aspx#64111