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

How to hide or show a Group at Runtime

1 Answer 329 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tariq
Top achievements
Rank 1
Tariq asked on 07 Dec 2008, 09:52 AM
I want to hide/show a Group Header at runtime depending on the value of a boolean variable. For example I want to give a choice to my user whether he wants to see each new group starting on a new page.

Do you a sample code that I can use to achieve this.

Tariq Changgez

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Dec 2008, 03:13 PM
Hi Tariq,

You can create a report parameter that should be visible in order for your user to have control of whether the group header would be visible or not. Then create new conditional formatting for the group header that would use expression with the Parameter value to determine whether the header would be visible or not.
Also there is a PrintOnEveryPage property which might be of use too, depending on your needs.

Sincerely yours,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Tariq
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or