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

IsBusy property for gridView - why ReadOnly ?

1 Answer 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 25 Aug 2009, 12:19 PM
Hi,

I am just wondering if there any reason why IsBusy property of GirdView is readonly? It would be great to be able change this property to True while loading data from database, then assign the data to gridView.ItemsSource and then set IsBusy to false.
My problem is that  database which is used by application might be  somewhere  in the Internet not in local network. So when I have to fetch a lots of data from DB, it may take about 10 seconds. During this time it would be great to set IsBusy to true and when data are fetched, assign the collection to the ItemSource and resotre the grid. Now it looks like this: UI hangs when fetching the data for 10 seconds and then when collection is assigned the busy icon is animated for about 1 sec.

Could you provide some example how to solve such an issue?
Maybe I can change RadGridView soruce code and change setter of IsBusy to public?

Cheers!

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 25 Aug 2009, 12:58 PM
Hi Alan,

We have introduced a public setter for IsBusy in our latest release Q2 2009 Sp1. If you could update to the latest version you will be able to use it to trigger the loading animation of RadGridView.

Hope this helps.

All the best,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Alan
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or