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

GridViewLoadingIndicator

5 Answers 226 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 1
Allan asked on 05 Jun 2009, 06:08 PM
Hi

Is there any documentation on using this feature (I'm assuming this will allow us to show some animation whilst the grid is loading data)?

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Jun 2009, 05:28 AM
Hello Allan,

Generally the loading indicator will be shown automatically when the grid DataLoadMode is set to "Asynchronous". You can check this demo for more info:
http://demos.telerik.com/wpf/?GridView/Performance/ClientSide

Kind regards,
Vlad
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.
0
Allan
Top achievements
Rank 1
answered on 15 Jun 2009, 08:42 PM
Vlad

Thanks for the reply.

This is working ... however, it seems to freeze for a few seconds just before it shows the grid (I assume thats because the UI thread is busy drawing the grid, and the animation cannot continue). Is there any way to prevent this?

Also, in the demos the animation shows when grouping is taking place - it doesn't work when I do it, is there another flag to set for grouping animation?

Allan    
0
Allan
Top achievements
Rank 1
answered on 17 Jun 2009, 07:04 PM
Hmm .. looks like the internal build from 6/12 has fixed the grouping / sorting issue.
0
Allan
Top achievements
Rank 1
answered on 17 Jun 2009, 10:03 PM
Further to my response on the 6/12 build .. that was not what fixed it.

I made the grid part of a user control.

When I have the following

<UserControl>
    <StackPanel>
        <RadGrid>

I don't get scrollbars, animation on filter / unfilter / group / sort, etc. It is also much much slower.

When I have the following

<UserControl>
    <Grid>
        <RadGrid>

The problems listed in bold go away.... bizarro.
0
Milan
Telerik team
answered on 18 Jun 2009, 05:29 AM
Hello Allan,

There are some problems with StackPanel that we are trying to address but for now you could try using the Destructo-Beam workaround that I have mentioned here . Basically it involves subscribing to the SizeChanged event of the parent StackPanel and using the actual size of panel as a size for the grid.

Hope this helps.

Best wishes,
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
Allan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Allan
Top achievements
Rank 1
Milan
Telerik team
Share this question
or