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

Simple hierarchy layout problem from a beginner

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lawrence
Top achievements
Rank 1
Lawrence asked on 30 Nov 2011, 10:00 PM
I am virtually new to r.a.d. Controls since it has been several years.  Sorry for what is probably a simple question.  I am trying to create a hierarchical layer for reporting several normalized tables.  These tables are custom tables.  The data is very simple.  These tables describe a person (whatever is meant by "person") and will include records like basic information (Name, age, yada yada) which is the master, Phone Numbers, Email Addresses, and Mailing Addresses.

The main table is "Person" (Name, age, yada yada) which is the master.
Subtables 2-4 have variying numbers of records per person.  And, in the case of Mailing Address, have several lines of information per record.
 

Showing these as tables works using the  gridtableview.  However, I need to shrink down the content and have a simple 1 or 2 column table for each of these items. all on the same row underneath the person's basic info.  Every time I set up the tables to work and then try to reformat the data, I get a blank line instead of any information.  I have been trying to use a Panel within the NestedViewTemplate control.  It just ends up turning out blank.  I have tried this many ways and cannot figure out what I am doing wrong.

In the end the information should look like :


Person
Field1    Field2  Field3                              
email                Address                             Home Address            Phone1
email                  Alternate Address             Home Address            Phone2

The basic layout that I tried was as follows with several variations:
RadGrid   person
    NestedViewSettings
        Criteria
    NestedViewTemplate
        ASP:Panel
             RadGrid Address -- or -- GridTable View
               (and repeat for phone and Email)
Person Grid's columns                                   

Any help would be greatly appreciated!

--Larry--

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 01 Dec 2011, 03:55 AM
Hello,

Take a look into the following demo.
Grid / NestedViewTemplate Relations

Thanks,
Princy.
Tags
Grid
Asked by
Lawrence
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or