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

Insight needed

2 Answers 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 2
Jeremy asked on 18 Dec 2009, 08:46 PM
I really like a lot of the RadGrid's functionality, and I think it's the route to go for the following problem, but i'm looking for some help on a best approach for the following problem.   Be it the rad grid or some other set of controls.

I have a Planning Year and a Planning Unit that are selectable controls, for the two controls, I want to populate some form of grid or other RadControl that allows me to repeat the following pattern.

Page 1
1. Print Planning Unit and associated year,
2. Print Planning Unit Purpose,
3. Print Planning Unit Objectives. (created by using planning unit and planning year, gives you the objective list for that planning year)

Page 2 thru end
3. Print Objective Data (created by getting planning unit and planning year, gives you the objective list for that planning year)
    a) Print Objective Statement
    b) Print Objective Tasks Detail (joined with objectives)
    c) Print Assessment Measures Detail (joined with objectives)
    d) Print Results Detail (joined with objectives)
    e) Print Use of Results Detail (joined with objectives)
    f) Status Reports Detail (joined with objectives.

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 21 Dec 2009, 08:13 AM
Hello Ray,

You can achieve the required scenario using RadGrid with a bit of custom logic and customization.
For columns where you want to display custom controls, you can use GridTemplateColumns and place the required controls in its ItemTemplate. Refer to the following document which will give you an idea about the various columns available with RadGrid:
Column types

Inorder to replace the third column on the first page with another column on the second page, you could actually make use of the visible property of columns and hide the corresponding columns based on the current page index.

Also to display details for each record in the grid, you can either use a GridTemplateColumn and customize it as explained here or use a NestedViewTemplate for which you can check out this link.

Hope this helps..
Princy.
0
Jeremy
Top achievements
Rank 2
answered on 29 Dec 2009, 08:28 PM
after fuller review, I think using the Telerik Reporting peice makes more sence in this instance.   However the information you passed was very useful on another area where I'm using a RadGrid with a GridTemplate Column.   Thanks for your reply! 

R
Tags
Grid
Asked by
Jeremy
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Jeremy
Top achievements
Rank 2
Share this question
or