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

Font is missing when update reference

4 Answers 48 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Rizk
Top achievements
Rank 1
Rizk asked on 26 Sep 2013, 08:59 AM
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...

4 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 01 Oct 2013, 08:30 AM
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 >>
0
Rizk
Top achievements
Rank 1
answered on 02 Oct 2013, 02:09 AM
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...
0
Accepted
Kalin
Telerik team
answered on 02 Oct 2013, 10:40 AM
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 >>
0
Rizk
Top achievements
Rank 1
answered on 03 Oct 2013, 02:20 AM
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....
Tags
PanelBar
Asked by
Rizk
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Rizk
Top achievements
Rank 1
Share this question
or