This question is locked. New answers and comments are not allowed.
Francisco Amador
Top achievements
Rank 1
Francisco Amador
asked on 20 Jul 2010, 04:21 PM
I was just wondering if it was possible to force the grid to load while not being visible. I have grid views in tabs and clicking on a tab for the first time has a 3 second delay due to the gridview binding and loading occurring as it is being brought into view. I have tried looking through the intellisense list to see if something caught my eye, but I didn't see anything blatantly obvious.
Please let me know if my scenario is possible, if not I will just show the busy indicator and not worry about it.
Thanks
Please let me know if my scenario is possible, if not I will just show the busy indicator and not worry about it.
Thanks
4 Answers, 1 is accepted
0
Accepted
Hello Francisco Amador,
The busy indicator would be the first choice in such situation.
To avoid waiting on tab , however you may try setting the items source with some delay - e.g. using Dispatcher.BeginInvoke to set the items source.
Sincerely yours,
Pavel Pavlov
the Telerik team
The busy indicator would be the first choice in such situation.
To avoid waiting on tab , however you may try setting the items source with some delay - e.g. using Dispatcher.BeginInvoke to set the items source.
Sincerely yours,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Francisco Amador
Top achievements
Rank 1
answered on 20 Jul 2010, 09:12 PM
Unfortunately the ItemsSource is set in advance before the tab is
selected and that is not something I can change. I did however change the dataloading to asynch so that it shows that it's working during other changes when it is visible. I haven't figured out the best place to activate the whole screen busyindicator when transitioning between tabs, but I'm sure I'll be able to figure that out. Thank you.
0
Leslie
Top achievements
Rank 1
answered on 01 Oct 2010, 08:37 PM
I'm having the same problem. I click on the tab, there is a delay while the grid loads, then the tab switches and the grid displays. I have not been able to find a place to set a busy indicator. On the grid is too late since it doesn't show the tab until the grid is already loaded. I tried setting a busy indicator for the screen on the tab selection changed and preview selection, and that didn't work either.
My grid has 15 columns and about 500 records. The delay is the same if I only have 20 records.
Leslie
My grid has 15 columns and about 500 records. The delay is the same if I only have 20 records.
Leslie
0
Hello Leslie,
Maya
the Telerik team
You may try to place the RadBusyIndicator inside the corresponding RadTabItem. I am sending you a sample project illustrating the proposed solution.
Maya
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items