Metro-Theme: Text is white on white

4 posts, 0 answers
  1. Heiko
    Heiko avatar
    153 posts
    Member since:
    Oct 2012

    Posted 22 Jan 2012 Link to this post

    Hi!

    When I use the Metro-Theme and place a RadGridView inside a RadTabItem the text inside the Grid becomes white on a white background. What is going wrong here? We are using 2011-Q2-SP1 controls.On the screenshot you can see that there IS some data inside the grid but it can't be seen.

    Regards
    Neils
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Jan 2012 Link to this post

    Hello Neils,

     

    Indeed we are aware of such an issue related to the grid when it is inside RadTabControl and Metro theme is set as an application one. For the time being I may suggest you to manually set the Foreground property of RadGridView, as shown below:


    <telerik:RadTabControl>
                <telerik:RadTabItem Header="RadTabItem">
                    <Grid Background="Transparent">
                        <telerik:RadGridView Foreground="Black"  ItemsSource="{Binding Collection}"/>
                        </Grid>
                </telerik:RadTabItem>
            </telerik:RadTabControl>



    Regards,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Iwhp
    Iwhp avatar
    40 posts
    Member since:
    Dec 2009

    Posted 09 Mar 2012 Link to this post

    same issue here ... please escalate the issue!
    <Window x:Class="WpfApplication1.MainWindow"
            Height="350" Width="525">
        <telerik:RadTabControl>
            <telerik:RadTabItem Header="Tab 1">
                <TextBlock Text="Text 1" />
            </telerik:RadTabItem>
            <telerik:RadTabItem Header="Tab 2">
                <TextBlock Text="Text 2" />
            </telerik:RadTabItem>
        </telerik:RadTabControl>
    </Window>

    Thankx, Cheers Harry
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3299 posts

    Posted 14 Mar 2012 Link to this post

    Hi Harry,

    Thank you for getting back to us. This issue is already logged in our PITS where you can track its progress. We will be working on a fix for the Q2 2012 official release.

    Please accept our apology for this inconvenience.

    Regards,
    Tina Stancheva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top