GridViewRow Background within BusyIndicator

7 posts, 0 answers
  1. Thorsten
    Thorsten avatar
    5 posts
    Member since:
    Jan 2013

    Posted 13 Nov 2013 Link to this post

    Hi,

    i got an error while the busy indicator is busy over the radtreelistview gridviewrow background. What can i do to remove the gray area?

    Please have a look on my attached file radtreelistview_busyindicator.png.

    Thanks for your help.
  2. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 14 Nov 2013 Link to this post

    Hi Thorsten,

    I would suggest you to check this forum thread where a similar question has already been discussed.

    Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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. UI for WPF is Visual Studio 2017 Ready
  4. Thorsten
    Thorsten avatar
    5 posts
    Member since:
    Jan 2013

    Posted 14 Nov 2013 Link to this post

    Hi Yoan,

    thanks for your reply.

    I've set the background transparent but it didn't solve the problem as you can see on my attached file. On the contrary, it looks more terrible than before. I also like the default opacity of the busy indicator. There must be another way.

    It seems like there is a bug in the radtreelistview control / gridviewrow because other controls, like the diagram, within the busy indicator are looking fine.

    Do you need an example application?

    Regards,
    Thorsten
  5. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 15 Nov 2013 Link to this post

    Hi Thorsten,

    I've tried to reproduce the problem you report but to no avail. Please find attached a sample project using the 2013.3 1016 version of our controls. Please note that the background of GridViewRow is set through RowStyleSelector as described in this help article.

    Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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. Thorsten
    Thorsten avatar
    5 posts
    Member since:
    Jan 2013

    Posted 15 Nov 2013 Link to this post

    Hi Yoan,

    you can find my example on the following link.

    Example Application

    I've found a workaround on my own. It's the background of the GridViewColumn. 

    The following code where the radtreelistview is within the busy indicator is not working.
    <telerik:RadBusyIndicator IsBusy="{Binding IsBusy}">
        <telerik:RadTreeListView ItemsSource="{Binding Persons}">
            <telerik:RadTreeListView.Columns>
                <telerik:GridViewColumn Header="Firstname">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Firstname}" />
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
                <telerik:GridViewColumn Header="Lastname">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Lastname}"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
            </telerik:RadTreeListView.Columns>
        </telerik:RadTreeListView>
    </telerik:RadBusyIndicator>

    The following code where the radtreelistview is outside the busy indicator is working.
    <telerik:RadTreeListView Grid.Column="1" ItemsSource="{Binding Persons}">
        <telerik:RadTreeListView.Columns>
            <telerik:GridViewColumn Header="Firstname">
                <telerik:GridViewColumn.CellTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding Firstname}" />
                    </DataTemplate>
                </telerik:GridViewColumn.CellTemplate>
            </telerik:GridViewColumn>
            <telerik:GridViewColumn Header="Lastname">
                <telerik:GridViewColumn.CellTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding Lastname}"/>
                    </DataTemplate>
                </telerik:GridViewColumn.CellTemplate>
            </telerik:GridViewColumn>
        </telerik:RadTreeListView.Columns>
    </telerik:RadTreeListView>
    <telerik:RadBusyIndicator Grid.Column="1" IsBusy="{Binding IsBusy}" />

    The question is why?

    Regards,
    Thorsten
  7. Yoan
    Admin
    Yoan avatar
    1066 posts

    Posted 15 Nov 2013 Link to this post

    Hi Thorsten,

    It appears you have hit a bug in RadGridView. We will investigate it further and will do our best to resolve it in one of the next internal builds.

    Thanks for reporting the issue! I am updating your Telerik points.


    Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
  8. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 18 Nov 2013 Link to this post

    Hello Thorsten,

     

    It seems that there is some kind of confusion on that matter. 
    By design in the current version of the RadBusyIndicator control when its IsBusy property is set to true the IsEnabled property of its content is set to false in order for it to be unusable.

    I would suggest you if it possible to either change the dependencies of the inner controls to not depend on the IsEnabled property but rather to their Value/IsChecked etc or create a custom overlay control that works as BusyIndicator. In the case with RadGridView/RadTreeListView I strongly recommend you to use their own GridViewLoadingIndicator. 

    Once again, please excuse us for any inconvenience caused!

    Regards,
    Vanya Pavlova
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    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 >>
Back to Top
UI for WPF is Visual Studio 2017 Ready