Font is missing when update reference

5 posts, 1 answers
  1. Rizk
    Rizk avatar
    13 posts
    Member since:
    Feb 2013

    Posted 26 Sep 2013 Link to this post

    Hi telerik...

    i have radpanel group that have a metro theme, and i apply metro theme globally...
    the problem is when i update reference from telerik Q2 2012 to Q2 2013 there some user control's font is missing...
    this is example of my radpanel group...

    sorry for my bad english...
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 01 Oct 2013 Link to this post

    Hi Rizk,

    We are not able to reproduce the described issue - we tested PaneGroup with Panes styled with the Windows8Theme and all the fonts were present. The Metro theme is not present with the Q2 2013 version of the controls, it has been replaced by the Windows8Theme. Could you please provide us with more detailed information on how exactly do you set the theme? Have you customized the theme anyhow?

    I'm looking forward to your response.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Rizk
    Rizk avatar
    13 posts
    Member since:
    Feb 2013

    Posted 01 Oct 2013 Link to this post

    Thanks for your reply Kalin....
    i have replaced metro theme to windows 8 theme....

    and add this to app.xaml
    <Application.Resources>
            <ResourceDictionary>
     
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Docking.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
                    <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
     
                </ResourceDictionary.MergedDictionaries>
           </ResourceDictionary>
    </Application.Resources>

    i also add this to my main page.cs to change windows8 theme color....
    private void gantiTema()
            {
                StyleManager.ApplicationTheme = new Windows8Theme();
                string hexaColor = "#ff0173bc";//"#header";
                Color blue = Color.FromArgb(
                          Convert.ToByte(hexaColor.Substring(1, 2), 16),
                          Convert.ToByte(hexaColor.Substring(3, 2), 16),
                          Convert.ToByte(hexaColor.Substring(5, 2), 16),
                          Convert.ToByte(hexaColor.Substring(7, 2), 16));
     
                Windows8Palette.Palette.AccentColor = blue;
     
                string hexaColorB = "#ffdbedf8";//"#konten";
                Color semiblue = Color.FromArgb(
                          Convert.ToByte(hexaColorB.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorB.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorB.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorB.Substring(7, 2), 16));
     
                Windows8Palette.Palette.MainColor = semiblue;
     
                string hexaColorC = "#ff9ecae7";//"#highlight";
                Color semigrey = Color.FromArgb(
                          Convert.ToByte(hexaColorC.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorC.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorC.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorC.Substring(7, 2), 16));
     
                Windows8Palette.Palette.BasicColor = semigrey;
     
                string hexaColorD = "#ff000000";//"#teksstrong";
                Color semolo = Color.FromArgb(
                          Convert.ToByte(hexaColorD.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorD.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorD.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorD.Substring(7, 2), 16));
     
                Windows8Palette.Palette.StrongColor = semolo;
     
                string hexaColorE = "#ff000000";//"hitam/636363";
                Color semolowaru = Color.FromArgb(
                          Convert.ToByte(hexaColorE.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorE.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorE.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorE.Substring(7, 2), 16));
     
                Windows8Palette.Palette.MarkerColor = semolowaru;
     
                string hexaColorF = "#ff923939";//"validasi";
                Color bunderanwaru = Color.FromArgb(
                          Convert.ToByte(hexaColorF.Substring(1, 2), 16),
                          Convert.ToByte(hexaColorF.Substring(3, 2), 16),
                          Convert.ToByte(hexaColorF.Substring(5, 2), 16),
                          Convert.ToByte(hexaColorF.Substring(7, 2), 16));
     
                Windows8Palette.Palette.ValidationColor = bunderanwaru;
            }

    thanks for your attention...
    once again...
    sorry for my bad english...
  5. Answer
    Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 02 Oct 2013 Link to this post

    Hello Rizk,

    I see you have set the theme using Implicit Styles and also with the StyleManager - these are two different approaches which shouldn't be used together. I tried to reproduce the described issue with the provided code, but there weren't any fonts missing. Please check the attached project and let me know if there is anything missed.

    Looking forward to your reply.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Rizk
    Rizk avatar
    13 posts
    Member since:
    Feb 2013

    Posted 02 Oct 2013 Link to this post

    Thank you very much Kailin...

    It works...
    If you not mind.. i wan to ask when exactly we can use implicit style or style manager ??

    thank you for your attention....
Back to Top
DevCraft banner