Background:
I have a nested datagrid (see below), i want the Employee names to be shown and the nested table (containing the records that realate to the employee to be hiden.
when a user clicks on the imagebutton i try show the column that contains the records.
My problem:
The child table will not display(Record), if i take the table out of the Master datagrid it will display etc.
Tried solutions:
I am (trying) to use a dataset with relationships and have looks at the following link:
http://www.dotnet247.com/247referenc...le.aspx?id=155
and all the threads here containing the words "datarelation" and also a second search for "nested datagrid"
I can't download any new controls,
In the Html code side of the webform i have added a <tr> and a <td colspan=3> to add the new row under the current row.Code:[+]---- Employee 1 <---- only rows that will show on page load >Record 1 <---- hiden until user clicks [+] >Record 2 [+]---- Employee 2 >Record 1 >Record 2 >Record 3 >Record 4 >Record 5
Please help I'm going out of my mind!Code:pseudo code : on master DataGrid data_bind { bind child datagrid to hidden column } on clicking [+]expand button { toggle expand button to [-] button show hidden column containing child datagrid }