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

GridView + RadDomainDataSource + Paging + MVVM = busy indicador problem

4 Answers 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Roygar
Top achievements
Rank 1
Roygar asked on 22 Mar 2011, 08:23 PM
Hi, while using the GridView with a RadDomainDataSource, a DataPager all in a MVVM way (using as reference the examples of the last version..) I notice that when I do paging or filtering, the grid is covered with some kind of busy indicator (a semi transparent screen with an animated circle), this is causing me some issues because I already have a busy indicador on the window... and now both show up (yours and mine...)... Im guessing is that the DataPager is setting the IsBusy property of the Grid (Am I correct?)... how do I prevent this?? I like how everything its integrated but I want to use my own busy indicator... 

Thanks

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Mar 2011, 08:14 AM
Hello ,

 Actually in our examples the busy property of the grid is bound to the data source busy property - you can check for example this demo. You can simply remove this binding if you do not want the grid busy indicator. 

All the best,
Vlad
the Telerik team
0
Roygar
Top achievements
Rank 1
answered on 23 Mar 2011, 02:18 PM
Hi, thanks.. but I guess I didn't explain myself..

My grid doen't have the IsBusy property binded... and still while paging with the RadDomainDataSource its show the its default busy indicador (transparent blue area with the animated circle..)

This's how I have the my grid declared

 

 

 

<telerik:RadGridView Name="radGridView"

 

 

 

 

CanUserInsertRows="False"

 

 

 

 

CanUserFreezeColumns="False"

 

 

 

 

RowIndicatorVisibility="Collapsed"

 

 

 

AutoGenerateColumns="False"

 

 

 

 

SelectionMode="Extended"

 

 

 

 

ShowColumnFooters="True" FontSize="11"

 

 

 

 

CanUserDeleteRows="False"

 

 

 

 

Margin="0,3,0,0"

 

 

 

 

IsReadOnly="True" ItemsSource="{Binding Source={StaticResource DocumentsViewModel}, Path=Items}"

 

 

 

 

RowActivated="radGridView_RowActivated" ShowGroupPanel="False" DistinctValuesLoading="radGridView_DistinctValuesLoading">

DocumentsViewModel is a ViewModel very similar to your example.


 

0
Vlad
Telerik team
answered on 24 Mar 2011, 09:50 AM
Hi,

 Indeed we've found that this will be triggered automatically when the grid is bound to QueryableDomainServiceCollectionView and we've fixed the problem immediately. In the next versions the automatic grid busy indicator will be show in this case only if you set Asynchronous DataLoadMode.

The fix will be part of our next internal build (Monday) and I've added 2000 Telerik points to your account.

Greetings,
Vlad
the Telerik team
0
Roygar
Top achievements
Rank 1
answered on 24 Mar 2011, 02:49 PM
HI

Thanksfor the points... I'll wait for the internal build then..

Roygar
Tags
GridView
Asked by
Roygar
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Roygar
Top achievements
Rank 1
Share this question
or