BusyIndicator and RadGridView Rows Foreground

2 posts, 0 answers
  1. Jose
    Jose avatar
    14 posts
    Member since:
    Sep 2011

    Posted 17 Nov 2011 Link to this post


    Hello,
    The BusyIndicator works very well, but one small detail that I don’t like. Let's see if I can help:
    When I apply BusyIndicator on a RadGridView  the text color from the rows of RadGridView turns from gray tone Metro (My default template) to color black.

    this is my code:

    <telerik:RadBusyIndicator IsBusy="{Binding Cargando}" BusyContent="Cargando">
                                    <telerik:RadGridView Focusable="False" telerik:PersistenceManager.StorageId="RGrid" Grid.Row="0" AutoGenerateColumns="False" x:Name="radGridView1" ItemsSource="{Binding Conocimientos}" SelectedItem="{Binding ConocimientoSeleccionado}" CanUserInsertRows="False" CanUserDeleteRows="False" IsManipulationEnabled="False" IsReadOnly="True">
                                        <i:Interaction.Triggers>
                                            <i:EventTrigger EventName="MouseDoubleClick">
                                                <ei:CallMethodAction MethodName="radGridView1_MouseDoubleClick" TargetObject="{Binding}" />
                                            </i:EventTrigger>
                                        </i:Interaction.Triggers>
                                        <telerik:RadGridView.Columns>
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColIdConocimiento" DataMemberBinding="{Binding IdConocimiento}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColIdConocimiento_Header,Source={StaticResource resLanguage}}" Width="60" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColFecha" DataMemberBinding="{Binding Fecha}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColFecha_Header,Source={StaticResource resLanguage}}" Width="80" DataFormatString="{}{0: dd/MM/yyyy}" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColPregunta" DataMemberBinding="{Binding Pregunta}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColPregunta_Header,Source={StaticResource resLanguage}}" Width="200" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColRespuesta" DataMemberBinding="{Binding Respuesta}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColRespuesta_Header,Source={StaticResource resLanguage}}" Width="200" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColIdAplicacion" DataMemberBinding="{Binding IdAplicacion}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColIdAplicacion_Header,Source={StaticResource resLanguage}}" Width="40" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColAplicacion" DataMemberBinding="{Binding Aplicacion}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColAplicacion_Header,Source={StaticResource resLanguage}}" Width="150" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColIdAplicacionModulo" DataMemberBinding="{Binding IdAplicacionModulo}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColIdAplicacionModulo_Header,Source={StaticResource resLanguage}}" Width="40" />
                                            <telerik:GridViewDataColumn MinWidth="0" Name="ColAplicacionModulo" DataMemberBinding="{Binding AplicacionModulo}" Header="{Binding TAAF_Gestiones_Presentation_WPF_ConocimientosLista_ColAplicacionModulo_Header,Source={StaticResource resLanguage}}" Width="150" />
                                        </telerik:RadGridView.Columns>
                                    </telerik:RadGridView>
                                    </telerik:RadBusyIndicator>


    Someone can tell me the reason?
    Thanks and sorry for my English

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 22 Nov 2011 Link to this post

    Hello Jose,

    This issue is caused by the transparency of the Metro theme.  As a workaround, I would suggest to use the built-in busy indicatior. Just bind IsBusy property of the GridView and remove the RadBusyIndicator. Please try it and let us know the result.

    Regards,
    Yana
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top