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

how to show progress bar on group header

7 Answers 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Farhan
Top achievements
Rank 1
Farhan asked on 01 Sep 2010, 04:26 PM
During expanding the group data i want to show progress bar on group header is it possible?

Thanks

7 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 02 Sep 2010, 10:15 AM
Hi Farhan,

Actually there is no problem to show any control in the GroupHeaderTemplate of your RadGridView,to show a progress bar in your GroupHeader use simply the following piece of code:
<telerik:RadGridView.GroupHeaderTemplate>
    <DataTemplate>
        <telerik:RadProgressBar Width="100" Height="20"/>
  </DataTemplate>
</telerik:RadGridView.GroupHeaderTemplate>
The behavior of this progressBar depends on your custom logic.
If you need any additional information do not hesitate to contact us.
Best wishes,
Vanya Pavlova
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
Farhan
Top achievements
Rank 1
answered on 02 Sep 2010, 04:03 PM
Can you please tell me how i can handle that i want to show this when i click expand group and want to collapse when expanded?

Thanks
0
Vanya Pavlova
Telerik team
answered on 03 Sep 2010, 02:41 PM
Hello Farhan,

I have prepared  sample project that demonstrates this approach by manipulating Expanded/Collapsed states of the GridViewGroupRow in Expression Blend.
Please see the attached example and let us know if you need any additional information.

All the best,
Vanya Pavlova
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
Mike
Top achievements
Rank 1
answered on 09 Dec 2011, 01:08 PM
Apologies for multiple browser posts, please remove this one.
0
Mike
Top achievements
Rank 1
answered on 09 Dec 2011, 01:08 PM
Apologies for mulitple browser posts.
0
Mike
Top achievements
Rank 1
answered on 09 Dec 2011, 01:09 PM
Apologies for multiple browser posts, please remove this one.
0
Mike
Top achievements
Rank 1
answered on 09 Dec 2011, 01:14 PM
Hi

I want to use a similar technique to show and display a progress bar based on the group, i.e. count the number of records with a boolean 'true' flag set.  The toolbar whould show the ratio of true/false found in the group.

I can't seem to work out how to tie this up with an custom aggregate (if necessary) and bind it to the progress bar.   I guess I could do this with a count and a total aggregate but how do I bind this?

Please can you show me an example of how to start?

Thanks

Mike
Tags
GridView
Asked by
Farhan
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Farhan
Top achievements
Rank 1
Mike
Top achievements
Rank 1
Share this question
or