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

GridViewRow Background within BusyIndicator

6 Answers 44 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Thorsten
Top achievements
Rank 1
Thorsten asked on 13 Nov 2013, 10:42 AM
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.

6 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 14 Nov 2013, 12:26 PM
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 >>
0
Thorsten
Top achievements
Rank 1
answered on 14 Nov 2013, 12:47 PM
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
0
Yoan
Telerik team
answered on 15 Nov 2013, 08:53 AM
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 >>
0
Thorsten
Top achievements
Rank 1
answered on 15 Nov 2013, 10:22 AM
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
0
Yoan
Telerik team
answered on 15 Nov 2013, 04:27 PM
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 >>
0
Vanya Pavlova
Telerik team
answered on 18 Nov 2013, 11:25 AM
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 >>
Tags
TreeListView
Asked by
Thorsten
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Thorsten
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or